about summary refs log tree commit diff
path: root/src/game/server/gamecontext.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-12 21:44:13 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-12 21:44:13 +0000
commit70dea7e39874b662bd1855c0038671622df89b7d (patch)
tree05b016d81afe1290f019c30fd5b0d67351d792b6 /src/game/server/gamecontext.cpp
parent123c5b5b9962f4af04ae2a0ca72fec668a1bea1e (diff)
downloadzcatch-70dea7e39874b662bd1855c0038671622df89b7d.tar.gz
zcatch-70dea7e39874b662bd1855c0038671622df89b7d.zip
fixed bug that crashes the server if settings tunings in the server config
Diffstat (limited to 'src/game/server/gamecontext.cpp')
-rw-r--r--src/game/server/gamecontext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp
index 287fe767..5c1c0486 100644
--- a/src/game/server/gamecontext.cpp
+++ b/src/game/server/gamecontext.cpp
@@ -9,7 +9,8 @@ GAMECONTEXT::GAMECONTEXT()
 {
 	for(int i = 0; i < MAX_CLIENTS; i++)
 		players[i] = 0;
-		
+	
+	controller = 0;
 	vote_closetime = 0;
 }