1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fix sleep/wake button, now the icon is updated properly after left click

This commit is contained in:
Adriankhl 2023-03-07 13:51:05 +01:00
parent 9e39e8ef11
commit 368def1609

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()