mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
- Fixed uninitialized guarding creature positions
- Fix for guard placement
This commit is contained in:
@ -43,8 +43,6 @@ std::unique_ptr<CMap> CMapGenerator::generate()
|
||||
{
|
||||
logGlobal->errorStream() << "Random map generation received exception: " << e.what();
|
||||
}
|
||||
|
||||
map->calculateGuardingGreaturePositions(); //calculate once again when all the guards are placed
|
||||
return std::move(map);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user