From d3e9ca165589e449162234b47937d15f65908ceb Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 25 Oct 2008 08:36:55 +0000 Subject: [PATCH] reset score on reset --- src/game/server/gamecontroller.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/server/gamecontroller.cpp b/src/game/server/gamecontroller.cpp index 44bb28935..4faab3c2b 100644 --- a/src/game/server/gamecontroller.cpp +++ b/src/game/server/gamecontroller.cpp @@ -277,7 +277,10 @@ void GAMECONTROLLER::post_reset() for(int i = 0; i < MAX_CLIENTS; i++) { if(game.players[i]) + { game.players[i]->respawn(); + game.players[i]->score = 0; + } } }