mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
Fix crash on loading saved game
This commit is contained in:
parent
f858a6e04b
commit
ca3e88ea30
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user