]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Play the hit sound for predators
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 11 Jul 2011 12:12:48 +0000 (15:12 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 11 Jul 2011 12:12:48 +0000 (15:12 +0300)
data/qcsrc/server/vore.qc

index 8b82b697553d7c5b96d34532ed789ce77c1ec713..db281b88d4f019b482de9265b51d6fbeda224d6d 100644 (file)
@@ -295,6 +295,7 @@ void Vore_Swallow(entity e)
        e.predator.stomach_load += 1;\r
        e.predator.regurgitate_prepare = 0;\r
        e.predator.spawnshieldtime = 0; // lose spawn shield when we vore\r
+       e.predator.hitsound += 1; // play this for team mates too, as we could be swallowing them to heal them\r
        Vore_WeightApply(e.predator);\r
        Vore_AutoDigest(e.predator);\r
 \r