change warpzone detection to detect non-common/trigger faces instead of common/warpzo...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / warpzonelib / server.qc
index 7b4c09c..f2b3581 100644 (file)
@@ -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)