1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix adventure map left-clicking

This commit is contained in:
Ivan Savenko 2023-05-02 16:51:21 +03:00
parent 019d7b6811
commit 7aacba6e55

View File

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