소스 검색

Merge pull request #1651 from Adriankhl/fix_sleep_wake

Fix sleep/wake button icon update
Ivan Savenko 2 년 전
부모
커밋
010c548dc1
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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()