]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Don't cause surface impact particles for flying spectators
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 31 Jan 2012 12:17:16 +0000 (14:17 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 31 Jan 2012 12:17:16 +0000 (14:17 +0200)
data/qcsrc/server/cl_physics.qc
docs/TODO.txt

index f887a4b2a014dcda693ab2c6c093aadafdaace4e..87d4a36595bd1cb5e20c2455817ff4740476e27e 100644 (file)
@@ -856,6 +856,7 @@ void SV_PlayerPhysics()
        {\r
                self.wasFlying = 0;\r
 \r
+               if(self.classname == "player")\r
                if(self.waterlevel < WATERLEVEL_SWIMMING)\r
                if(time >= self.ladder_time)\r
                if not(self.grabber)\r
index d57912e0d6f7c3f3964e759ff374643374e19455..53b36cc99483693bc11553cf64c18acabf4d78db 100644 (file)
 \r
 - 0.7 | 0.8: Enable r_shadows in some way?\r
 \r
-- 0.7 BUG: Flying spectators cause impact particles. Don't!\r
-\r
 - 0.7: Re-enable cl_deathfade.\r
 \r
 - 0.7: HUD icon when stunned.\r