1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Blick Quest Log button if map have no quests

This commit is contained in:
ArseniyShestakov 2015-02-14 00:52:00 +03:00
parent 7dc0fbcca7
commit dae03fdf92

View File

@ -560,6 +560,7 @@ void CAdvMapInt::restoreState()
changeMode(EAdvMapMode::NORMAL);
underground->block(!CGI->mh->map->twoLevel);
questlog->block(!CGI->mh->map->quests.size());
worldViewUnderground->block(!CGI->mh->map->twoLevel);
terrain.currentPath = nullptr; // invalidate previously visible path after game reload