]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/config.qc
Merge branch 'TimePath/modelregistry' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / config.qc
index 895b469f7a904413fb14268a5670ec936e6e2ae1..f35448e9c2212dd98506391dbced0b0133658e6d 100644 (file)
@@ -21,7 +21,7 @@ float T_Config_Queue_Compare(float root, float child, entity pass)
                else if(c > r) { return -1; }
                else { return 1; }
        }
-       
+
        return 0;
 }
 
@@ -40,7 +40,7 @@ void Dump_Turret_Settings(void)
 
                // step 3: sort queue
                heapsort(TUR_CONFIG_COUNT, T_Config_Queue_Swap, T_Config_Queue_Compare, world);
-               
+
                // step 4: write queue
                TUR_CONFIG_WRITETOFILE(sprintf("// {{{ #%d: %s\n", i, TUR_NAME(i)))
                for(x = 0; x <= TUR_CONFIG_COUNT; ++x)
@@ -48,7 +48,7 @@ void Dump_Turret_Settings(void)
                TUR_CONFIG_WRITETOFILE("// }}}\n")
 
                // step 5: debug info
-               print(sprintf("#%d: %s: %d settings...\n", i, TUR_NAME(i), TUR_CONFIG_COUNT));
+               LOG_INFO(sprintf("#%d: %s: %d settings...\n", i, TUR_NAME(i), TUR_CONFIG_COUNT));
                totalsettings += TUR_CONFIG_COUNT;
        }
 
@@ -58,5 +58,5 @@ void Dump_Turret_Settings(void)
                { tur_config_queue[x] = string_null; }
 
        // extra information
-       print(sprintf("Totals: %d turrets, %d settings\n", (i - 1), totalsettings));
+       LOG_INFO(sprintf("Totals: %d turrets, %d settings\n", (i - 1), totalsettings));
 }