]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix a major issue that was just reported. Right before the 0.3 release :)
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 8 Sep 2010 22:26:45 +0000 (01:26 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 8 Sep 2010 22:26:45 +0000 (01:26 +0300)
data/qcsrc/server/vore.qc

index 90c8472c580ec2710728379adef7d69f2ec8f93f..4b76c4844b7b81e9537ebd65d78ad8cd7acdf544 100644 (file)
@@ -194,12 +194,7 @@ void Vore_Disconnect()
 \r
        // prey disconnects or goes spectating while inside someone's belly:\r
        if(self.predator.classname == "player")\r
-       {\r
-               self.view_ofs_z = self.vore_oldview_ofs_z;\r
-               self.predator.stomach_load -= 1;\r
-               Vore_Weight_apply(self.predator);\r
-               self.predator = world;\r
-       }\r
+               Vore_Regurgitate(self);\r
 \r
        // pred disconnects or goes spectating with players in their belly:\r
        else if(self.stomach_load > 0)\r