From 4bede550be18cfc9bb4df669c147032917160066 Mon Sep 17 00:00:00 2001 From: oy Date: Tue, 1 Mar 2011 18:31:20 +0100 Subject: only update the ping if the scoreboard is active. Closes #27 --- src/game/server/player.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/game/server/player.h') diff --git a/src/game/server/player.h b/src/game/server/player.h index fbbf5567..f4d82d24 100644 --- a/src/game/server/player.h +++ b/src/game/server/player.h @@ -37,6 +37,12 @@ public: //--------------------------------------------------------- // this is used for snapping so we know how we can clip the view for the player vec2 m_ViewPos; + + // states if the client is chatting, accessing a menu etc. + int m_PlayerFlags; + + // used for snapping to just update latency if the scoreboard is active + int m_aActLatency[MAX_CLIENTS]; // int m_Vote; -- cgit 1.4.1