From: Mario Date: Tue, 30 Aug 2016 15:39:17 +0000 (+1000) Subject: Use old loop for warpzone initialization (testing for gameplay change) X-Git-Tag: xonotic-v0.8.2~474^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c33bc51a6dcf67f2a0114dac2d154b6a64f761b1;p=xonotic%2Fxonotic-data.pk3dir.git Use old loop for warpzone initialization (testing for gameplay change) --- diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index 6decb2e70..0c36a77c5 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -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;