1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #1651 from Adriankhl/fix_sleep_wake

Fix sleep/wake button icon update
This commit is contained in:
Ivan Savenko
2023-03-08 19:42:02 +02:00
committed by GitHub

View File

@@ -331,6 +331,9 @@ void CAdvMapInt::fsleepWake()
//uncomment to enable original HoMM3 behaviour:
//move button is disabled for hero going to sleep, even though it's enabled when you reselect him
}
// redraw to update the image of sleep/wake button
panelMain->redraw();
}
void CAdvMapInt::fmoveHero()