From dfe499248f1b1236487156b28e4a535d7963fe35 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 27 Aug 2008 15:48:50 +0000 Subject: major commit. game client restructure. not complete, loads of stuff not working, but the structure is there --- src/game/server/hooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/server/hooks.cpp') diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index 328cfb4f..485c7850 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -360,7 +360,7 @@ void mods_init() { mods_connected(MAX_CLIENTS-i-1); mods_client_enter(MAX_CLIENTS-i-1); - if(game.controller->gametype != GAMETYPE_DM) + if(game.controller->is_teamplay) game.players[MAX_CLIENTS-i-1].team = i&1; } } -- cgit 1.4.1