diff options
Diffstat (limited to 'src/game/server/player.cpp')
| -rw-r--r-- | src/game/server/player.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index 4ea2a4a6..ea1e0233 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -31,6 +31,7 @@ CPlayer::CPlayer(CGameContext *pGameServer, int ClientID, int Team) m_LastKillTry = Server()->Tick(); m_TicksSpec = 0; m_TicksIngame = 0; + m_ChatTicks = 0; } CPlayer::~CPlayer() @@ -55,7 +56,10 @@ void CPlayer::Tick() m_TicksSpec++; else m_TicksIngame++; - + + if(m_ChatTicks > 0) + m_ChatTicks--; + /* end zCatch*/ // do latency stuff |