Browse Source

Fix adventure map left-clicking

Ivan Savenko 2 years ago
parent
commit
7aacba6e55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/adventureMap/CAdventureMapInterface.cpp

+ 1 - 1
client/adventureMap/CAdventureMapInterface.cpp

@@ -441,7 +441,7 @@ const CGObjectInstance* CAdventureMapInterface::getActiveObject(const int3 &mapP
 
 void CAdventureMapInterface::onTileLeftClicked(const int3 &mapPos)
 {
-	if(widget->getState() == EGameState::MAKING_TURN)
+	if(widget->getState() != EGameState::MAKING_TURN)
 		return;
 
 	//FIXME: this line breaks H3 behavior for Dimension Door