mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-14 02:33:51 +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);
|
underground->block(!CGI->mh->map->twoLevel);
|
||||||
worldViewUnderground->block(!CGI->mh->map->twoLevel);
|
worldViewUnderground->block(!CGI->mh->map->twoLevel);
|
||||||
|
|
||||||
|
terrain.currentPath = nullptr; // invalidate previously visible path after game reload
|
||||||
}
|
}
|
||||||
|
|
||||||
CAdvMapInt::~CAdvMapInt()
|
CAdvMapInt::~CAdvMapInt()
|
||||||
|
Loading…
Reference in New Issue
Block a user