]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Comment out an unused field
authorterencehill <piuntn@gmail.com>
Wed, 24 Jul 2019 08:00:08 +0000 (10:00 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 24 Jul 2019 08:01:20 +0000 (10:01 +0200)
qcsrc/server/bot/default/waypoints.qc

index 9de3779870e7c732a9193357cdaba18ecd6af1b8..d69a89400f53be33f8f2079627df8f8ff51f850e 100644 (file)
@@ -1743,7 +1743,6 @@ float botframe_autowaypoints_fix_from(entity p, float walkfromwp, entity wp, .en
 }
 
 // automatically create missing waypoints
-.entity botframe_autowaypoints_lastwp0, botframe_autowaypoints_lastwp1;
 void botframe_autowaypoints_fix(entity p, float walkfromwp, .entity fld)
 {
        float r = botframe_autowaypoints_fix_from(p, walkfromwp, p.(fld), fld);
@@ -1839,6 +1838,8 @@ LABEL(next)
        });
 }
 
+//.entity botframe_autowaypoints_lastwp0;
+.entity botframe_autowaypoints_lastwp1;
 void botframe_autowaypoints()
 {
        FOREACH_CLIENT(IS_PLAYER(it) && IS_REAL_CLIENT(it) && !IS_DEAD(it), {