浏览代码

Fix adventure map left-clicking

Ivan Savenko 2 年之前
父节点
当前提交
7aacba6e55
共有 1 个文件被更改,包括 1 次插入1 次删除
  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