Browse Source

Fix commander skill icon not updating on deselection

Ivan Savenko 5 months ago
parent
commit
173b658ee5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/windows/CCreatureWindow.cpp

+ 2 - 0
client/windows/CCreatureWindow.cpp

@@ -132,11 +132,13 @@ void CCommanderSkillIcon::clickPressed(const Point & cursorPosition)
 {
 	callback();
 	isSelected = true;
+	redraw();
 }
 
 void CCommanderSkillIcon::deselect()
 {
 	isSelected = false;
+	redraw();
 }
 
 bool CCommanderSkillIcon::getIsMasterAbility()