]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
warpzonelib: also allow "trigger" name
authorRudolf Polzer <divverent@xonotic.org>
Thu, 16 Jun 2011 04:54:47 +0000 (06:54 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 16 Jun 2011 04:54:47 +0000 (06:54 +0200)
qcsrc/warpzonelib/server.qc

index 29f5dc8db11aaf218354895ed5bba94f53e76397..46eaf595b72acf269ce85e46c1392f2ca2901c2d 100644 (file)
@@ -411,7 +411,7 @@ void WarpZone_InitStep_UpdateTransform()
                tex = getsurfacetexture(self, i_s);
                if not(tex)
                        break; // this is beyond the last one
-               if(tex == "textures/common/trigger")
+               if(tex == "textures/common/trigger" || tex == "trigger")
                        continue;
                n_t = getsurfacenumtriangles(self, i_s);
                for(i_t = 0; i_t < n_t; ++i_t)