about summary refs log tree commit diff
path: root/src/game/server/srv_common.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-09 09:47:05 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-09 09:47:05 +0000
commit5ee4dc1fec60964593e1c7cec92ab72f0568afa6 (patch)
treef996e17d0fe65a257302e0ed345283914d71d11b /src/game/server/srv_common.cpp
parent482058e60c12af02d47d56409009084a405cdbf9 (diff)
downloadzcatch-5ee4dc1fec60964593e1c7cec92ab72f0568afa6.tar.gz
zcatch-5ee4dc1fec60964593e1c7cec92ab72f0568afa6.zip
bug fixes in team games
Diffstat (limited to 'src/game/server/srv_common.cpp')
-rw-r--r--src/game/server/srv_common.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/server/srv_common.cpp b/src/game/server/srv_common.cpp
index f76e1e51..1c338897 100644
--- a/src/game/server/srv_common.cpp
+++ b/src/game/server/srv_common.cpp
@@ -30,6 +30,8 @@ gameobject::gameobject()
 	round_start_tick = server_tick();
 	round_count = 0;
 	is_teamplay = false;
+	teamscore[0] = 0;
+	teamscore[1] = 0;	
 }
 
 void gameobject::endround()