Browse Source

Fix commander skill icon not updating on deselection

Ivan Savenko 5 tháng trước cách đây
mục cha
commit
173b658ee5
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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()