That was not properly fixing it. This is.
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 27 Feb 2011 18:32:04 +0000 (20:32 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 27 Feb 2011 18:32:04 +0000 (20:32 +0200)
data/qcsrc/server/vore.qc

index e51b0b8..7e002a1 100644 (file)
@@ -280,7 +280,7 @@ void Vore_PreyRelease(entity e)
                if(self.fakepredator.classname != "player" || self.fakepredator.deadflag != DEAD_NO)\r
                        Vore_DeadPrey_Detach(self);\r
        }\r
-       else if(self.predator.classname != "player")\r
+       else\r
                Vore_Regurgitate(e);\r
 }\r
 \r
@@ -514,15 +514,15 @@ void Vore()
 // Code that addresses the prey:\r
 // --------------------------------\r
 \r
+       if(self.predator.classname != "player")\r
+               return;\r
+\r
        if(self.deadflag)\r
        {\r
                Vore_PreyRelease(self);\r
                return;\r
        }\r
 \r
-       if(self.predator.classname != "player")\r
-               return;\r
-\r
        if(self.predator.deadflag)\r
                Vore_Regurgitate(self);\r
        else if(vlen(self.predator.velocity) > cvar("g_balance_vore_regurgitate_speedcap"))\r