Skip to content

Commit

Permalink
Removed error about too few DM start-spots
Browse files Browse the repository at this point in the history
The warning is printed but it is not fatal. As there aren't
enough start-spots it is likely that some people will get
telefragged immediately after spawning...
  • Loading branch information
skyjake committed Aug 9, 2011
1 parent 5956226 commit 37cd2c1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doomsday/plugins/common/src/p_mapsetup.c
Expand Up @@ -657,9 +657,9 @@ Con_Message("spawning x:[%g, %g, %g] angle:%i ednum:%i flags:%i\n",

if(deathmatch)
{
int i;
uint numDMStarts = P_GetNumPlayerStarts(true),
playerCount = 0;
int i;
uint numDMStarts = P_GetNumPlayerStarts(true);
uint playerCount = 0;

for(i = 0; i < MAXPLAYERS; ++i)
{
Expand All @@ -669,8 +669,7 @@ Con_Message("spawning x:[%g, %g, %g] angle:%i ednum:%i flags:%i\n",

if(numDMStarts < playerCount)
{
Con_Error("P_SetupMap: Player count (%d) exceeds deathmatch "
"spots (%d).", playerCount, numDMStarts);
Con_Message("P_SetupMap: Player count (%i) exceeds deathmatch spots (%i).\n", playerCount, numDMStarts);
}
}
}
Expand Down

0 comments on commit 37cd2c1

Please sign in to comment.