]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_physics.qc
Don't shake the ground for prey
[voretournament/voretournament.git] / data / qcsrc / server / cl_physics.qc
index 99c50099482d8d68a602a27edb45b4a3588e183d..20e08f713e5dff8da6e2cb5dedeb1af18465773c 100644 (file)
@@ -892,6 +892,8 @@ void SV_PlayerPhysics()
                                                                continue; // not for self\r
                                                        if not(head.flags & FL_ONGROUND)\r
                                                                continue; // we only feel the ground shaking if we are sitting on it\r
+                                                       if(head.stat_eaten)\r
+                                                               continue; // not for prey\r
 \r
                                                        float shake;\r
                                                        shake = vlen(head.origin - self.origin);\r