Browse Source

Blick Quest Log button if map have no quests

ArseniyShestakov 10 years ago
parent
commit
dae03fdf92
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/windows/CAdvmapInterface.cpp

+ 1 - 0
client/windows/CAdvmapInterface.cpp

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