Skip to content

Commit

Permalink
Fixed bug all games: #2501751 - method of circumventing logic to prev…
Browse files Browse the repository at this point in the history
…ent abuse of the automap cheats in multiplayer games.
  • Loading branch information
danij committed Jan 15, 2009
1 parent 38f6cba commit 5d2664e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doomsday/plugins/common/src/p_mapsetup.c
Expand Up @@ -689,9 +689,12 @@ static void P_ResetWorldState(void)

for(i = 0; i < MAXPLAYERS; ++i)
{
player_t *plr = &players[i];
player_t* plr = &players[i];

plr->killCount = plr->secretCount = plr->itemCount = 0;

AM_SetCheatLevel(i, 0);
AM_RevealMap(i, false);
}

#if __JDOOM__ || __JDOOM64__
Expand Down

0 comments on commit 5d2664e

Please sign in to comment.