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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user