]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Only use the event chasecam when we aren't fake prey (dead and outside of the stomach)
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index 9e6a5f945b1c727aedebccf438cc5245a63d5573..9837a563848b0081e3378a66139958a325aeb7d3 100644 (file)
@@ -500,8 +500,10 @@ void Vore()
                        self.colormod_z = 1;\r
        }\r
 \r
-       // set all vore related stats\r
-       if(self.predator.classname == "player")\r
+       // set all vore stats\r
+       if(self.fakeprey)\r
+               self.stat_eaten = num_for_edict(self.fakepredator);\r
+       else if(self.predator.classname == "player")\r
        {\r
                self.stat_stomachload = self.predator.stomach_load; // necessary for the stomach board\r
                self.stat_digesting = self.predator.digesting; // necessary for the stomach board\r