From 368def1609f64526a327f59f8700cf847a5f911f Mon Sep 17 00:00:00 2001 From: Adriankhl Date: Tue, 7 Mar 2023 13:51:05 +0100 Subject: [PATCH] Fix sleep/wake button, now the icon is updated properly after left click --- client/adventureMap/CAdvMapInt.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/adventureMap/CAdvMapInt.cpp b/client/adventureMap/CAdvMapInt.cpp index a807fd32f..7793c0a12 100644 --- a/client/adventureMap/CAdvMapInt.cpp +++ b/client/adventureMap/CAdvMapInt.cpp @@ -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()