Browse Source

Merge pull request #1651 from Adriankhl/fix_sleep_wake

Fix sleep/wake button icon update
Ivan Savenko 2 years ago
parent
commit
010c548dc1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      client/adventureMap/CAdvMapInt.cpp

+ 3 - 0
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()