X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fturrets%2Fconfig.qc;h=effabeac275ded29fed4b17d370f6e56e7cd5fb2;hb=95a5a2479a35e264473e8ba3fc4e584553da42b3;hp=7d1a81d490b1be213ad7d12faa20ca3d6e2d6355;hpb=264c9f48d418d1ebd4b5ef5868b85f92644917dc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/turrets/config.qc b/qcsrc/common/turrets/config.qc index 7d1a81d49..effabeac2 100644 --- a/qcsrc/common/turrets/config.qc +++ b/qcsrc/common/turrets/config.qc @@ -3,6 +3,8 @@ // Turret Config Generator // ========================== +#ifdef SVQC + void T_Config_Queue_Swap(float root, float child, entity pass) { string oldroot = config_queue[root]; @@ -48,7 +50,7 @@ void Dump_Turret_Settings() TUR_CONFIG_WRITETOFILE("// }}}\n") // step 5: debug info - LOG_INFO(sprintf("#%d: %s: %d settings...\n", i, it.turret_name, TUR_CONFIG_COUNT)); + LOG_INFOF("#%d: %s: %d settings...", i, it.turret_name, TUR_CONFIG_COUNT); totalsettings += TUR_CONFIG_COUNT; }); @@ -58,5 +60,7 @@ void Dump_Turret_Settings() config_queue[j] = string_null; // extra information - LOG_INFO(sprintf("Totals: %d turrets, %d settings\n", (Turrets_COUNT - 1), totalsettings)); + LOG_INFOF("Totals: %d turrets, %d settings", (Turrets_COUNT - 1), totalsettings); } + +#endif