]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/config.qc
Turrets: rename registry globals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / config.qc
index e052d6c1cfcf33dbdc1f388c2eb5aa732bfbb542..c2a609b15ca42f1764b0115f4bd9baf4ee0257b8 100644 (file)
@@ -28,7 +28,7 @@ float T_Config_Queue_Compare(float root, float child, entity pass)
 void Dump_Turret_Settings(void)
 {
        float x, totalsettings = 0;
-       FOREACH(turret_info, it != TUR_Null, LAMBDA({
+       FOREACH(Turrets, it != TUR_Null, LAMBDA({
                // step 1: clear the queue
                TUR_CONFIG_COUNT = 0;
                for(x = 0; x <= MAX_TUR_CONFIG; ++x)
@@ -57,5 +57,5 @@ void Dump_Turret_Settings(void)
                { tur_config_queue[x] = string_null; }
 
        // extra information
-       LOG_INFO(sprintf("Totals: %d turrets, %d settings\n", (TUR_COUNT - 1), totalsettings));
+       LOG_INFO(sprintf("Totals: %d turrets, %d settings\n", (Turrets_COUNT - 1), totalsettings));
 }