From e97980201274be54ddc8144ea1ddda51f0ee5097 Mon Sep 17 00:00:00 2001 From: mateuszb Date: Wed, 23 Feb 2011 15:51:33 +0000 Subject: [PATCH] * fix for bug 672 --- client/CHeroWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/CHeroWindow.cpp b/client/CHeroWindow.cpp index 96353a752..83d974061 100644 --- a/client/CHeroWindow.cpp +++ b/client/CHeroWindow.cpp @@ -120,7 +120,7 @@ CHeroWindow::CHeroWindow(const CGHeroInstance *hero) luck = new MoraleLuckBox(false, Rect(233,179,53,45)); spellPointsArea = new LRClickableAreaWText(Rect(162,228, 136, 42), CGI->generaltexth->heroscrn[22]); - for(int i = 0; i < std::min(hero->secSkills.size(), 8u); ++i) + for(int i = 0; i < std::min(hero->secSkills.size(), 8u); ++i) { Rect r = Rect(i%2 == 0 ? 18 : 162, 276 + 48 * (i/2), 136, 42); secSkillAreas.push_back(new LRClickableAreaWTextComp(r, SComponent::secskill));