]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
The inflicter of regurgitation damage is the prey getting regurgitated
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 20:39:28 +0000 (23:39 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 20:39:28 +0000 (23:39 +0300)
data/qcsrc/server/vore.qc

index b78795e8109735e54fffbe21e671e5fe288b6f5e..a32ec8e16a3ed38f79ff39c38e78ff6496089a76 100644 (file)
@@ -393,7 +393,7 @@ void Vore_Regurgitate(entity e)
                regurgitate_dmg = cvar("g_balance_vore_regurgitate_damage");\r
                if(cvar("g_healthsize"))\r
                        regurgitate_dmg *= e.scale / e.predator.scale;\r
-               Damage(e.predator, e.predator, e.predator, regurgitate_dmg, DEATH_REGURGITATION, e.predator.origin, '0 0 0');\r
+               Damage(e.predator, e, e, regurgitate_dmg, DEATH_REGURGITATION, e.predator.origin, '0 0 0');\r
        }\r
 \r
        PlayerSound(e.predator, playersound_regurgitate, CHAN_VOICE, VOICETYPE_PLAYERSOUND);\r