From: MirceaKitsune Date: Tue, 7 Sep 2010 16:58:16 +0000 (+0300) Subject: Also notify the prey when they're swallowed by a team mate, so they can know not... X-Git-Url: https://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=commitdiff_plain;h=e7d6d6029b912f725d5b5fe83044aef54c0524c8 Also notify the prey when they're swallowed by a team mate, so they can know not to kick. --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 63139a5b..fbc630ff 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -124,8 +124,11 @@ void Vore_Swallow(entity e) if(stov(cvar_string("g_vore_regurgitatecolor_released"))) e.colormod = stov(cvar_string("g_vore_regurgitatecolor_released")); - if(e.eater.team == e.team && teamplay) + if(e.team == e.eater.team && teamplay) + { + centerprint(e, "^3You have been swallowed by a team mate, don't kick!"); centerprint(e.eater, "^3You have swallowed a team mate, use caution!"); + } PlayerSound(e.eater, playersound_swallow, CHAN_PAIN, VOICETYPE_PLAYERSOUND); setanim(e.eater, e.eater.anim_pain1, FALSE, TRUE, TRUE); // looks good for swallowing / regurgitating