Pārlūkot izejas kodu

Fix quest log button block status

Ivan Savenko 2 gadi atpakaļ
vecāks
revīzija
63a8cd9642
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      client/adventureMap/AdventureMapShortcuts.cpp

+ 1 - 1
client/adventureMap/AdventureMapShortcuts.cpp

@@ -397,7 +397,7 @@ void AdventureMapShortcuts::moveHeroDirectional(const Point & direction)
 
 bool AdventureMapShortcuts::optionCanViewQuests()
 {
-	return optionInMapView() && CGI->mh->getMap()->quests.empty();
+	return optionInMapView() && !CGI->mh->getMap()->quests.empty();
 }
 
 bool AdventureMapShortcuts::optionCanToggleLevel()