allow usage of eyeemotes in freeze

This commit is contained in:
eeeee 2011-08-14 17:23:57 +02:00 committed by GreYFoX
parent 44b636d37f
commit cfde5a20ec

View file

@ -926,13 +926,15 @@ void CCharacter::Snap(int SnappingClient)
if (m_DeepFreeze)
{
pCharacter->m_Emote = EMOTE_PAIN;
if (pCharacter->m_Emote == EMOTE_NORMAL)
pCharacter->m_Emote = EMOTE_PAIN;
pCharacter->m_Weapon = WEAPON_NINJA;
pCharacter->m_AmmoCount = 0;
}
else if (m_FreezeTime > 0 || m_FreezeTime == -1)
{
pCharacter->m_Emote = EMOTE_BLINK;
if (pCharacter->m_Emote == EMOTE_NORMAL)
pCharacter->m_Emote = EMOTE_BLINK;
pCharacter->m_Weapon = WEAPON_NINJA;
pCharacter->m_AmmoCount = 0;
}