about summary refs log tree commit diff
path: root/src/game/server/player.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-01 18:31:20 +0100
committeroy <Tom_Adams@web.de>2011-03-01 18:31:20 +0100
commit4bede550be18cfc9bb4df669c147032917160066 (patch)
tree56652609b0a47df5e1cf27abbbaf8a3d5cf9756d /src/game/server/player.h
parent0bc13c91ebcc6404fc67e079e5a9acad10176c98 (diff)
downloadzcatch-4bede550be18cfc9bb4df669c147032917160066.tar.gz
zcatch-4bede550be18cfc9bb4df669c147032917160066.zip
only update the ping if the scoreboard is active. Closes #27
Diffstat (limited to 'src/game/server/player.h')
-rw-r--r--src/game/server/player.h6
1 files changed, 6 insertions, 0 deletions
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;