reset score on reset

This commit is contained in:
Magnus Auvinen 2008-10-25 08:36:55 +00:00
parent 4ce4849131
commit d3e9ca1655

View file

@ -277,7 +277,10 @@ void GAMECONTROLLER::post_reset()
for(int i = 0; i < MAX_CLIENTS; i++) for(int i = 0; i < MAX_CLIENTS; i++)
{ {
if(game.players[i]) if(game.players[i])
{
game.players[i]->respawn(); game.players[i]->respawn();
game.players[i]->score = 0;
}
} }
} }