mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix adventure map left-clicking
This commit is contained in:
@@ -441,7 +441,7 @@ const CGObjectInstance* CAdventureMapInterface::getActiveObject(const int3 &mapP
|
|||||||
|
|
||||||
void CAdventureMapInterface::onTileLeftClicked(const int3 &mapPos)
|
void CAdventureMapInterface::onTileLeftClicked(const int3 &mapPos)
|
||||||
{
|
{
|
||||||
if(widget->getState() == EGameState::MAKING_TURN)
|
if(widget->getState() != EGameState::MAKING_TURN)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//FIXME: this line breaks H3 behavior for Dimension Door
|
//FIXME: this line breaks H3 behavior for Dimension Door
|
||||||
|
Reference in New Issue
Block a user