]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Lose spawn shield when we vore someone
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 4 Oct 2010 10:37:22 +0000 (13:37 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 4 Oct 2010 10:37:22 +0000 (13:37 +0300)
data/qcsrc/server/vore.qc

index 176d69c23d8131e6aaa97814723ddb3bee5ffbfc..ac0da273d8a1998b9b7951754bc5ed27da225314 100644 (file)
@@ -176,6 +176,7 @@ void Vore_Swallow(entity e)
        e.predator.punchangle_x -= e.predator.cvar_cl_vore_punchangle;\r
        e.predator.stomach_load += 1;\r
        e.predator.regurgitate_prepare = 0;\r
+       e.predator.spawnshieldtime = 0; // lose spawn shield when we vore\r
        Vore_Weight_apply(e.predator);\r
 \r
        // block firing for a small amount of time, or we'll be firing the next frame after we swallow\r