mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
allow usage of eyeemotes in freeze
This commit is contained in:
parent
44b636d37f
commit
cfde5a20ec
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue