From: Rudolf Polzer Date: Mon, 7 Jun 2010 07:39:49 +0000 (+0200) Subject: change warpzone detection to detect non-common/trigger faces instead of common/warpzo... X-Git-Tag: xonotic-v0.1.0preview~547^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4d1b7ceaaa2e81845d000752273ae229c9db2d37;p=xonotic%2Fxonotic-data.pk3dir.git change warpzone detection to detect non-common/trigger faces instead of common/warpzone faces --- diff --git a/qcsrc/warpzonelib/server.qc b/qcsrc/warpzonelib/server.qc index 7b4c09ccb..f2b358188 100644 --- a/qcsrc/warpzonelib/server.qc +++ b/qcsrc/warpzonelib/server.qc @@ -321,7 +321,7 @@ void WarpZone_InitStep_UpdateTransform() tex = getsurfacetexture(self, i_s); if not(tex) break; // this is beyond the last one - if(tex != "textures/common/warpzone") + if(tex == "textures/common/trigger") continue; n_t = getsurfacenumtriangles(self, i_s); for(i_t = 0; i_t < n_t; ++i_t)