1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Fixed toggleable buttons (sleep/wake & subterra/surface)

This commit is contained in:
Ivan Savenko
2023-05-05 15:48:43 +03:00
parent 77beca50e2
commit 5ae507505a
12 changed files with 179 additions and 103 deletions

View File

@@ -199,7 +199,10 @@ void CIntObject::disable()
void CIntObject::enable()
{
if(!active_m && (!parent_m || parent_m->active))
{
activate();
redraw();
}
recActions = 255;
}