diff options
| author | oy <Tom_Adams@web.de> | 2011-03-25 09:49:21 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-25 09:49:21 +0100 |
| commit | 8ad3def65ea79f66c7508c219e05da3e5e117fe9 (patch) | |
| tree | 271fe1749241106456734d4d4e63e0171524b48a /src/game/client/components/voting.h | |
| parent | d78c84b105341ac85d735445fa04265e64017802 (diff) | |
| download | zcatch-8ad3def65ea79f66c7508c219e05da3e5e117fe9.tar.gz zcatch-8ad3def65ea79f66c7508c219e05da3e5e117fe9.zip | |
added aliases for votes. Closes #144
Diffstat (limited to 'src/game/client/components/voting.h')
| -rw-r--r-- | src/game/client/components/voting.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game/client/components/voting.h b/src/game/client/components/voting.h index 87e0ec10..151ecbfc 100644 --- a/src/game/client/components/voting.h +++ b/src/game/client/components/voting.h @@ -14,8 +14,7 @@ class CVoting : public CComponent static void ConVote(IConsole::IResult *pResult, void *pUserData); int64 m_Closetime; - char m_aDescription[512]; - char m_aCommand[512]; + char m_aDescription[64]; int m_Voted; void ClearOptions(); @@ -27,7 +26,7 @@ public: { CVoteOption *m_pNext; CVoteOption *m_pPrev; - char m_aCommand[1]; + char m_aDescription[64]; }; CVoteOption *m_pFirst; @@ -52,7 +51,6 @@ public: bool IsVoting() { return m_Closetime != 0; } int TakenChoice() const { return m_Voted; } const char *VoteDescription() const { return m_aDescription; } - const char *VoteCommand() const { return m_aCommand; } int m_Yes, m_No, m_Pass, m_Total; }; |