]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_physics.qc
Don't cause surface impact particles for flying spectators
[voretournament/voretournament.git] / data / qcsrc / server / cl_physics.qc
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