about summary refs log tree commit diff
path: root/src/game/client/components/voting.cpp
diff options
context:
space:
mode:
authorGreYFoXGTi <GreYFoXGTi@GMaiL.CoM>2011-02-12 12:40:36 +0200
committeroy <Tom_Adams@web.de>2011-02-12 21:18:41 +0100
commit1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251 (patch)
treed4b94b98105c3af23c79bae02a132bfe66738392 /src/game/client/components/voting.cpp
parente45ad2a085d8f02aadc5d823a1d7dda4e1da70aa (diff)
downloadzcatch-1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251.tar.gz
zcatch-1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251.zip
Refactoring & fixed WEAPONSPEC_GUN in content.py
Diffstat (limited to 'src/game/client/components/voting.cpp')
-rw-r--r--src/game/client/components/voting.cpp12
1 files changed, 6 insertions, 6 deletions
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);
 }