1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fix build, fix element disabling

This commit is contained in:
Ivan Savenko
2024-08-09 16:11:07 +00:00
parent 220c5cb1d7
commit c6943e0ab0
3 changed files with 6 additions and 7 deletions

View File

@@ -106,6 +106,8 @@ void CIntObject::disable()
{
if(isActive())
deactivate();
recActions = NO_ACTIONS;
}
void CIntObject::enable()
@@ -116,7 +118,7 @@ void CIntObject::enable()
redraw();
}
recActions = 255;
recActions = ALL_ACTIONS;
}
void CIntObject::setEnabled(bool on)