1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +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
commit 010c548dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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