mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Another compile fix.
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user