]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Lose spawn shield when we vore someone
[voretournament/voretournament.git] / 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