From db499c5cf85e669f62b7bce3a3fac6cbe866854f Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Tue, 31 Jan 2012 14:17:16 +0200 Subject: [PATCH] Don't cause surface impact particles for flying spectators --- data/qcsrc/server/cl_physics.qc | 1 + docs/TODO.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/data/qcsrc/server/cl_physics.qc b/data/qcsrc/server/cl_physics.qc index f887a4b2..87d4a365 100644 --- a/data/qcsrc/server/cl_physics.qc +++ b/data/qcsrc/server/cl_physics.qc @@ -856,6 +856,7 @@ void SV_PlayerPhysics() { self.wasFlying = 0; + if(self.classname == "player") if(self.waterlevel < WATERLEVEL_SWIMMING) if(time >= self.ladder_time) if not(self.grabber) diff --git a/docs/TODO.txt b/docs/TODO.txt index d57912e0..53b36cc9 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -122,8 +122,6 @@ - 0.7 | 0.8: Enable r_shadows in some way? -- 0.7 BUG: Flying spectators cause impact particles. Don't! - - 0.7: Re-enable cl_deathfade. - 0.7: HUD icon when stunned. -- 2.39.2