]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Swap it over to MOVETYPE_SPECTATOR
authorSamual <samual@xonotic.org>
Tue, 31 May 2011 23:49:47 +0000 (19:49 -0400)
committerSamual <samual@xonotic.org>
Tue, 31 May 2011 23:49:47 +0000 (19:49 -0400)
qcsrc/server/cl_client.qc

index 6a1619e90320c48688daa3ce5fc852a6e248411c..a1703b97d571cd6901e7704cf6d0a2d05acc5c11 100644 (file)
@@ -659,7 +659,7 @@ void PutObserverInServer (void)
        self.health = -666;
        self.takedamage = DAMAGE_NO;
        self.solid = SOLID_NOT;
-       self.movetype = MOVETYPE_FLY; //(self.cvar_cl_clippedspectating ? MOVETYPE_NOCLIP : MOVETYPE_FLY); // it's too early for this anyway, lets just set it in playerprethink
+       self.movetype = MOVETYPE_SPECTATOR; //(self.cvar_cl_clippedspectating ? MOVETYPE_NOCLIP : MOVETYPE_FLY); // it's too early for this anyway, lets just set it in playerprethink
        self.flags = FL_CLIENT | FL_NOTARGET;
        self.armorvalue = 666;
        self.effects = 0;