mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Another compile fix.
This commit is contained in:
parent
a1531b58db
commit
c7f4fe8243
@ -210,7 +210,8 @@ bool EditorObstaclePlacer::isInTheMap(const int3& tile)
|
||||
|
||||
void EditorObstaclePlacer::placeObstacles(CRandomGenerator & rand)
|
||||
{
|
||||
finalInsertion(map->getEditManager(), createObstacles(rand));
|
||||
auto obstacles = createObstacles(rand);
|
||||
finalInsertion(map->getEditManager(), obstacles);
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
Loading…
x
Reference in New Issue
Block a user