mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Fixes crash when loading game (if path was visible previously);
This commit is contained in:
parent
ac3e48f4b9
commit
f30cb0fa5b
@ -561,6 +561,8 @@ void CAdvMapInt::restoreState()
|
||||
|
||||
underground->block(!CGI->mh->map->twoLevel);
|
||||
worldViewUnderground->block(!CGI->mh->map->twoLevel);
|
||||
|
||||
terrain.currentPath = nullptr; // invalidate previously visible path after game reload
|
||||
}
|
||||
|
||||
CAdvMapInt::~CAdvMapInt()
|
||||
|
Loading…
Reference in New Issue
Block a user