change warpzone detection to detect non-common/trigger faces instead of common/warpzo...
authorRudolf Polzer <divverent@alientrap.org>
Mon, 7 Jun 2010 07:39:49 +0000 (09:39 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 7 Jun 2010 07:39:49 +0000 (09:39 +0200)
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
                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)
                        continue;
                n_t = getsurfacenumtriangles(self, i_s);
                for(i_t = 0; i_t < n_t; ++i_t)