Mercurial > mm7
diff UI/UICharacter.cpp @ 1684:f84b8b2a875c
Fixing a few warnings in Players.cpp
author | Grumpy7 |
---|---|
date | Fri, 20 Sep 2013 10:51:42 +0200 |
parents | 3c451fd02fcf |
children | 5cbd88f8a2eb |
line wrap: on
line diff
--- a/UI/UICharacter.cpp Fri Sep 20 10:34:07 2013 +0200 +++ b/UI/UICharacter.cpp Fri Sep 20 10:51:42 2013 +0200 @@ -2109,7 +2109,7 @@ pGUIWindow_CurrentMenu->DrawText(pFontArrus, 266, pY, 0, pTmpBuf.data(), 0, 0, 0); pY += 2 * LOBYTE(pFontArrus->uFontHeight); - sprintf(pTmpBuf.data(), "%s\t100%+d\n", pGlobalTXT_LocalizationStrings[18], player->GetActualAttack(0)); + sprintf(pTmpBuf.data(), "%s\t100%+d\n", pGlobalTXT_LocalizationStrings[18], player->GetActualAttack(false)); pGUIWindow_CurrentMenu->DrawText(pFontArrus, 266, pY, 0, pTmpBuf.data(), 0, 0, 0); pY += LOBYTE(pFontArrus->uFontHeight) - 2;