]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
use spawnflag 1 instead
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 17 Jun 2011 06:59:08 +0000 (08:59 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 17 Jun 2011 06:59:08 +0000 (08:59 +0200)
qcsrc/warpzonelib/server.qc

index 3892b329d991cb1337a31acf613992053750f9ff..5ec87eb42a99cee6dd1790a012fecbd6afd12d5f 100644 (file)
@@ -410,7 +410,7 @@ void WarpZoneCamera_InitStep_FindTarget()
        warpzone_cameras_exist = 1;
        WarpZone_Camera_SetUp(self, self.enemy.origin, self.enemy.angles);
        self.SendFlags = 0xFFFFFF;
-       if(self.spawnflags & 2)
+       if(self.spawnflags & 1)
        {
                self.think = WarpZoneCamera_Think;
                self.nextthink = time;
@@ -554,7 +554,7 @@ void WarpZone_InitStep_FinalizeTransform()
        WarpZone_SetUp(self, self.warpzone_origin, self.warpzone_angles, self.enemy.warpzone_origin, self.enemy.warpzone_angles);
        self.touch = WarpZone_Touch;
        self.SendFlags = 0xFFFFFF;
-       if(self.spawnflags & 2)
+       if(self.spawnflags & 1)
        {
                self.think = WarpZone_Think;
                self.nextthink = time;