From: MirceaKitsune Date: Sat, 3 Mar 2012 19:32:01 +0000 (+0200) Subject: Don't shake the ground for prey X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2c4728a070b5d5f69e2112a8bab75c7c3c9b3013;p=voretournament%2Fvoretournament.git Don't shake the ground for prey --- diff --git a/data/qcsrc/server/cl_physics.qc b/data/qcsrc/server/cl_physics.qc index 99c50099..20e08f71 100644 --- a/data/qcsrc/server/cl_physics.qc +++ b/data/qcsrc/server/cl_physics.qc @@ -892,6 +892,8 @@ void SV_PlayerPhysics() continue; // not for self if not(head.flags & FL_ONGROUND) continue; // we only feel the ground shaking if we are sitting on it + if(head.stat_eaten) + continue; // not for prey float shake; shake = vlen(head.origin - self.origin); diff --git a/data/qcsrc/server/sv_main.qc b/data/qcsrc/server/sv_main.qc index 1e80f138..e49283c6 100644 --- a/data/qcsrc/server/sv_main.qc +++ b/data/qcsrc/server/sv_main.qc @@ -127,6 +127,8 @@ void CreatureFrame (void) continue; // not for self if not(head.flags & FL_ONGROUND) continue; // we only feel the ground shaking if we are sitting on it + if(head.stat_eaten) + continue; // not for prey float shake; shake = vlen(head.origin - self.origin);