]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use old loop for warpzone initialization (testing for gameplay change)
authorMario <mario@smbclan.net>
Tue, 30 Aug 2016 15:39:17 +0000 (01:39 +1000)
committerMario <mario@smbclan.net>
Tue, 30 Aug 2016 15:39:17 +0000 (01:39 +1000)
qcsrc/server/sv_main.qc

index 6decb2e70512855d569c54c74c5e870ef93110e4..0c36a77c5b7689665d101e1d676efe67af567e21 100644 (file)
@@ -403,8 +403,8 @@ LABEL(cvar_fail)
 void WarpZone_PostInitialize_Callback()
 {
        // create waypoint links for warpzones
-       for(entity e = warpzone_first; e; e = e.warpzone_next)
-       //for(entity e = NULL; (e = find(e, classname, "trigger_warpzone")); )
+       //for(entity e = warpzone_first; e; e = e.warpzone_next)
+       for(entity e = NULL; (e = find(e, classname, "trigger_warpzone")); )
        {
                vector src, dst;
                src = (e.absmin + e.absmax) * 0.5;