Allow the swallow model to be removed again when there's no more swallow progress
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 10 Jul 2011 16:34:46 +0000 (19:34 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 10 Jul 2011 16:34:46 +0000 (19:34 +0300)
data/qcsrc/server/vore.qc

index 3e6cac5..5f16c96 100644 (file)
@@ -207,13 +207,13 @@ void Vore_SwallowModel_Think()
        self.alpha = self.owner.cvar_cl_vore_stomachmodel;\r
 \r
        // if our swallow progress is gone, the swallow model must also go\r
-       /*if(!self.owner.swallow_progress_prey)\r
+       if(!self.owner.swallow_progress_prey)\r
        {\r
                self.nextthink = 0;\r
                remove(self);\r
                self = world;\r
                return;\r
-       }*/\r
+       }\r
 \r
        self.nextthink = time;\r
 }\r