From: Samual Date: Sun, 14 Aug 2011 23:27:12 +0000 (-0400) Subject: Make movetype_spectator behave the same way movetype_fly does with free movement X-Git-Tag: xonotic-v0.5.0~109^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9e57fbef6c87aeeb7005a896ce1038d16ab836ad;p=xonotic%2Fxonotic-data.pk3dir.git Make movetype_spectator behave the same way movetype_fly does with free movement --- diff --git a/qcsrc/server/cl_physics.qc b/qcsrc/server/cl_physics.qc index 4af6dac1c..5f82d61e5 100644 --- a/qcsrc/server/cl_physics.qc +++ b/qcsrc/server/cl_physics.qc @@ -963,7 +963,7 @@ void SV_PlayerPhysics() { RaceCarPhysics(); } - else if (self.movetype == MOVETYPE_NOCLIP || self.movetype == MOVETYPE_FLY) + else if (self.movetype == MOVETYPE_NOCLIP || self.movetype == MOVETYPE_FLY || self.movetype == MOVETYPE_SPECTATOR) { // noclipping or flying self.flags &~= FL_ONGROUND;