mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 21:09:07 +00:00
Added an extra constant marker
This commit is contained in:
parent
c8c1836398
commit
ae3c05b8ed
@ -299,7 +299,7 @@ t_map read_game_map(const std::string& str, std::map<int, coordinate>& starting_
|
|||||||
starting_positions[starting_position].y = y;
|
starting_positions[starting_position].y = y;
|
||||||
} else {
|
} else {
|
||||||
// add new position
|
// add new position
|
||||||
struct coordinate coord = {x, y};
|
const struct coordinate coord = {x, y};
|
||||||
starting_positions.insert(std::pair<int, coordinate>(starting_position, coord));
|
starting_positions.insert(std::pair<int, coordinate>(starting_position, coord));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user