From 1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251 Mon Sep 17 00:00:00 2001 From: GreYFoXGTi Date: Sat, 12 Feb 2011 12:40:36 +0200 Subject: Refactoring & fixed WEAPONSPEC_GUN in content.py --- src/game/client/components/voting.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/game/client/components/voting.cpp') diff --git a/src/game/client/components/voting.cpp b/src/game/client/components/voting.cpp index 4ddd6318..e2531818 100644 --- a/src/game/client/components/voting.cpp +++ b/src/game/client/components/voting.cpp @@ -31,13 +31,13 @@ void CVoting::Callvote(const char *pType, const char *pValue) Client()->SendPackMsg(&Msg, MSGFLAG_VITAL); } -void CVoting::CallvoteKick(int ClientId, const char *pReason) +void CVoting::CallvoteKick(int ClientID, const char *pReason) { char aBuf[32]; if(pReason[0]) - str_format(aBuf, sizeof(aBuf), "%d %s", ClientId, pReason); + str_format(aBuf, sizeof(aBuf), "%d %s", ClientID, pReason); else - str_format(aBuf, sizeof(aBuf), "%d", ClientId); + str_format(aBuf, sizeof(aBuf), "%d", ClientID); Callvote("kick", aBuf); } @@ -57,13 +57,13 @@ void CVoting::CallvoteOption(int OptionId) } } -void CVoting::ForcevoteKick(int ClientId, const char *pReason) +void CVoting::ForcevoteKick(int ClientID, const char *pReason) { char aBuf[32]; if(pReason[0]) - str_format(aBuf, sizeof(aBuf), "kick %d %s", ClientId, pReason); + str_format(aBuf, sizeof(aBuf), "kick %d %s", ClientID, pReason); else - str_format(aBuf, sizeof(aBuf), "kick %d", ClientId); + str_format(aBuf, sizeof(aBuf), "kick %d", ClientID); Client()->Rcon(aBuf); } -- cgit 1.4.1