about summary refs log tree commit diff
path: root/src/game/server/gamecontext.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-25 10:26:59 +0100
committeroy <Tom_Adams@web.de>2011-03-25 10:26:59 +0100
commita4580d451f8e4584f9aaa7b6ebe3380488ee4455 (patch)
tree9a88c33b631a81785b4ebdc68aea52b725ea7ab4 /src/game/server/gamecontext.h
parent8ad3def65ea79f66c7508c219e05da3e5e117fe9 (diff)
downloadzcatch-a4580d451f8e4584f9aaa7b6ebe3380488ee4455.tar.gz
zcatch-a4580d451f8e4584f9aaa7b6ebe3380488ee4455.zip
added reasons to vote in general and show reason in vote hud. Closes #219
Diffstat (limited to 'src/game/server/gamecontext.h')
-rw-r--r--src/game/server/gamecontext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/server/gamecontext.h b/src/game/server/gamecontext.h
index 19926290..472f29f8 100644
--- a/src/game/server/gamecontext.h
+++ b/src/game/server/gamecontext.h
@@ -83,7 +83,7 @@ public:
 	class CCharacter *GetPlayerChar(int ClientID);
 	
 	// voting
-	void StartVote(const char *pDesc, const char *pCommand);
+	void StartVote(const char *pDesc, const char *pCommand, const char *pReason);
 	void EndVote();
 	void SendVoteSet(int ClientID);
 	void SendVoteStatus(int ClientID, int Total, int Yes, int No);
@@ -95,6 +95,7 @@ public:
 	int m_VotePos;
 	char m_aVoteDescription[64];
 	char m_aVoteCommand[512];
+	char m_aVoteReason[16];
 	int m_VoteEnforce;
 	enum
 	{