1
0
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:
Fay 2015-02-13 11:20:13 +01:00
parent ac3e48f4b9
commit f30cb0fa5b

View File

@ -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()