Ver Fonte

Fix adventure map left-clicking

Ivan Savenko há 2 anos atrás
pai
commit
7aacba6e55
1 ficheiros alterados com 1 adições e 1 exclusões
  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