about summary refs log tree commit diff
path: root/src/game/server/srv_ctf.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-26 20:47:49 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-26 20:47:49 +0000
commitddbb7e0b0ea20a115b556b99577e7de07cd703d4 (patch)
tree2c10d2df6fc76bd4eb3288963a109cb02656eecb /src/game/server/srv_ctf.cpp
parent61041e483797e02525547757f75007edceabc0f3 (diff)
downloadzcatch-ddbb7e0b0ea20a115b556b99577e7de07cd703d4.tar.gz
zcatch-ddbb7e0b0ea20a115b556b99577e7de07cd703d4.zip
fixed tdm and ctf scoring
Diffstat (limited to 'src/game/server/srv_ctf.cpp')
-rw-r--r--src/game/server/srv_ctf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/server/srv_ctf.cpp b/src/game/server/srv_ctf.cpp
index abdb0efe..e941c804 100644
--- a/src/game/server/srv_ctf.cpp
+++ b/src/game/server/srv_ctf.cpp
@@ -55,6 +55,8 @@ int gameobject_ctf::on_player_death(class player *victim, class player *killer,
 void gameobject_ctf::tick()
 {
 	gameobject::tick();
+
+	do_team_wincheck();
 	
 	// do flags
 	for(int fi = 0; fi < 2; fi++)