瀏覽代碼

Blick Quest Log button if map have no quests

ArseniyShestakov 10 年之前
父節點
當前提交
dae03fdf92
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/windows/CAdvmapInterface.cpp

+ 1 - 0
client/windows/CAdvmapInterface.cpp

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