Skip to content

Commit

Permalink
fix mp random maps
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Mar 23, 2016
1 parent f920a03 commit 2e93592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/map.cpp
Expand Up @@ -462,7 +462,7 @@ const map_location& gamemap::starting_position(int n) const
int gamemap::num_valid_starting_positions() const
{
const int res = is_starting_position(map_location());
if(res == -1)
if(res == 0)
return num_starting_positions();
else
return res;
Expand Down

0 comments on commit 2e93592

Please sign in to comment.