From: MirceaKitsune Date: Tue, 2 Aug 2011 20:39:28 +0000 (+0300) Subject: The inflicter of regurgitation damage is the prey getting regurgitated X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da1c4e3577d6a7d4f66d363d47eb6c00d481988e;p=voretournament%2Fvoretournament.git The inflicter of regurgitation damage is the prey getting regurgitated --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index b78795e8..a32ec8e1 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -393,7 +393,7 @@ void Vore_Regurgitate(entity e) regurgitate_dmg = cvar("g_balance_vore_regurgitate_damage"); if(cvar("g_healthsize")) regurgitate_dmg *= e.scale / e.predator.scale; - Damage(e.predator, e.predator, e.predator, regurgitate_dmg, DEATH_REGURGITATION, e.predator.origin, '0 0 0'); + Damage(e.predator, e, e, regurgitate_dmg, DEATH_REGURGITATION, e.predator.origin, '0 0 0'); } PlayerSound(e.predator, playersound_regurgitate, CHAN_VOICE, VOICETYPE_PLAYERSOUND);