From a4580d451f8e4584f9aaa7b6ebe3380488ee4455 Mon Sep 17 00:00:00 2001 From: oy Date: Fri, 25 Mar 2011 10:26:59 +0100 Subject: added reasons to vote in general and show reason in vote hud. Closes #219 --- src/game/server/gamecontext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/server/gamecontext.h') 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 { -- cgit 1.4.1