]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 7b4c09ccb7cb17a9ee2b16b47094e2c5b302e6d4..f2b3581887536234d6614690906e444dd27f2bd9 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)