diff UI/UiGame.cpp @ 1684:f84b8b2a875c

Fixing a few warnings in Players.cpp
author Grumpy7
date Fri, 20 Sep 2013 10:51:42 +0200
parents f3986fd1a122
children 8cfb2e978445
line wrap: on
line diff
--- a/UI/UiGame.cpp	Fri Sep 20 10:34:07 2013 +0200
+++ b/UI/UiGame.cpp	Fri Sep 20 10:51:42 2013 +0200
@@ -887,7 +887,7 @@
     pY = pFontHeight + pY;
     if ( !i )
       pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, 22, pY, 0, pGlobalTXT_LocalizationStrings[18], 60, 0);//Атака
-    sprintf(pTmpBuf.data(), "%+d", player->GetActualAttack(0));
+    sprintf(pTmpBuf.data(), "%+d", player->GetActualAttack(false));
     pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, 0, pTmpBuf.data(), 84, 0);
     pY = pFontHeight + pY;
     if ( !i )