From: Rudolf Polzer Date: Fri, 17 Jun 2011 06:59:08 +0000 (+0200) Subject: use spawnflag 1 instead X-Git-Tag: xonotic-v0.5.0~199^2~14^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=00e58116641ca062fea62bf5fe3ce0d3a633eb69;p=xonotic%2Fxonotic-data.pk3dir.git use spawnflag 1 instead --- diff --git a/qcsrc/warpzonelib/server.qc b/qcsrc/warpzonelib/server.qc index 3892b329d..5ec87eb42 100644 --- a/qcsrc/warpzonelib/server.qc +++ b/qcsrc/warpzonelib/server.qc @@ -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;