mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 18:53:56 +00:00
fix a compile error on gcc caused by a recent commit
This commit is contained in:
parent
3d3e267242
commit
4a66260942
@ -119,7 +119,8 @@ void terrain_builder::tilemap::reload(int x, int y)
|
||||
{
|
||||
x_ = x;
|
||||
y_ = y;
|
||||
tiles_.swap(std::vector<tile>((x + 4) * (y + 4)));
|
||||
std::vector<terrain_builder::tile> new_tiles((x + 4) * (y + 4));
|
||||
tiles_.swap(new_tiles);
|
||||
}
|
||||
|
||||
bool terrain_builder::tilemap::on_map(const map_location &loc) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user