mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Fix crash on loading saved game
This commit is contained in:
@@ -164,10 +164,10 @@ void CPlayerInterface::initGameInterface(std::shared_ptr<Environment> ENV, std::
|
||||
cb = CB;
|
||||
env = ENV;
|
||||
|
||||
pathfinderCache = std::make_unique<PathfinderCache>(cb.get(), PathfinderOptions(cb.get()));
|
||||
CCS->musich->loadTerrainMusicThemes();
|
||||
initializeHeroTownList();
|
||||
|
||||
pathfinderCache = std::make_unique<PathfinderCache>(cb.get(), PathfinderOptions(cb.get()));
|
||||
adventureInt.reset(new AdventureMapInterface());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user