about summary refs log tree commit diff
path: root/src/game/server
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-08-16 02:21:18 +0200
committeroy <Tom_Adams@web.de>2010-08-16 02:21:18 +0200
commitabc84ac0b0ff77b3b30a20252f86332c699e4466 (patch)
tree4ed487066f87aaac06b28ffd749f94126b169cd9 /src/game/server
parent4c2dcc4f2b5f061a1d75aa2aa0b316c4b86bc1d8 (diff)
downloadzcatch-abc84ac0b0ff77b3b30a20252f86332c699e4466.tar.gz
zcatch-abc84ac0b0ff77b3b30a20252f86332c699e4466.zip
added fixes for compiler errors and warnings by sworddragon
Diffstat (limited to 'src/game/server')
-rw-r--r--src/game/server/gamecontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/gamecontroller.cpp b/src/game/server/gamecontroller.cpp
index 07f8bf86..04eb8c6e 100644
--- a/src/game/server/gamecontroller.cpp
+++ b/src/game/server/gamecontroller.cpp
@@ -423,7 +423,7 @@ void IGameController::Tick()
 			do
 			{
 				CPlayer *pP = 0;
-				int PD = aTScore[M];
+				float PD = aTScore[M];
 				for(int i = 0; i < MAX_CLIENTS; i++)
 				{
 					if(!GameServer()->m_apPlayers[i] || !CanBeMovedOnBalance(i))