Skip to content

Commit

Permalink
fix starting positions in gamemap::write()
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Mar 31, 2016
1 parent 5d9e211 commit c01e5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/map.cpp
Expand Up @@ -276,8 +276,8 @@ std::string gamemap::write() const
for(int i = 0, size = starting_positions_.size(); i < size; ++i) {
if(on_board(starting_positions_[i])) {
starting_positions[i + 1] = t_translation::coordinate(
starting_positions[i].x + border_size_,
starting_positions[i].y + border_size_
starting_positions_[i].x + border_size_,
starting_positions_[i].y + border_size_
);
}
}
Expand Down

0 comments on commit c01e5e8

Please sign in to comment.