]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/sv_main.qc
Don't regurgitate fully digested prey silently by default
[voretournament/voretournament.git] / data / qcsrc / server / sv_main.qc
index 1e80f1389d942c5e58efc131ace1b7e89377c969..e49283c69874beb447c485321e50fe7b623cf609 100644 (file)
@@ -127,6 +127,8 @@ void CreatureFrame (void)
                                                                                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