Skip to content

Commit

Permalink
When frozen and afk, show normal eyes to be able to tell non-afk from…
Browse files Browse the repository at this point in the history
… afk
  • Loading branch information
def- committed May 19, 2017
1 parent c1c2c15 commit 63c1d75
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/game/server/entities/character.cpp
Expand Up @@ -1135,7 +1135,12 @@ void CCharacter::Snap(int SnappingClient)
}

if(GetPlayer()->m_Afk || GetPlayer()->IsPaused())
pCharacter->m_Emote = EMOTE_BLINK;
{
if(m_FreezeTime > 0 || m_FreezeTime == -1 || m_DeepFreeze)
pCharacter->m_Emote = EMOTE_NORMAL;
else
pCharacter->m_Emote = EMOTE_BLINK;
}

if(pCharacter->m_Emote == EMOTE_NORMAL)
{
Expand Down

1 comment on commit 63c1d75

@Ekidoxx
Copy link
Member

@Ekidoxx Ekidoxx commented on 63c1d75 May 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, making these two emotes swapped(?) would have more sense (though the idea itself is great).
Since now, when someone is afk - he has open eyes as if he'd be active, and when he's active - his eyes are closed...

Please sign in to comment.