From: MirceaKitsune Date: Wed, 8 Sep 2010 22:26:45 +0000 (+0300) Subject: Fix a major issue that was just reported. Right before the 0.3 release :) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f6e93265c8de2833f751d5c16ee34d89cbbb5926;p=voretournament%2Fvoretournament.git Fix a major issue that was just reported. Right before the 0.3 release :) --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 90c8472c..4b76c484 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -194,12 +194,7 @@ void Vore_Disconnect() // prey disconnects or goes spectating while inside someone's belly: if(self.predator.classname == "player") - { - self.view_ofs_z = self.vore_oldview_ofs_z; - self.predator.stomach_load -= 1; - Vore_Weight_apply(self.predator); - self.predator = world; - } + Vore_Regurgitate(self); // pred disconnects or goes spectating with players in their belly: else if(self.stomach_load > 0)