Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
1683:96d567a7d15f | 1684:f84b8b2a875c |
---|---|
885 pTextColor = UI_GetHealthManaAndOtherQualitiesStringColor(player->GetActualAC(), player->GetBaseAC()); | 885 pTextColor = UI_GetHealthManaAndOtherQualitiesStringColor(player->GetActualAC(), player->GetBaseAC()); |
886 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, pTextColor, pTmpBuf.data(), 84, 0); | 886 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, pTextColor, pTmpBuf.data(), 84, 0); |
887 pY = pFontHeight + pY; | 887 pY = pFontHeight + pY; |
888 if ( !i ) | 888 if ( !i ) |
889 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, 22, pY, 0, pGlobalTXT_LocalizationStrings[18], 60, 0);//Атака | 889 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, 22, pY, 0, pGlobalTXT_LocalizationStrings[18], 60, 0);//Атака |
890 sprintf(pTmpBuf.data(), "%+d", player->GetActualAttack(0)); | 890 sprintf(pTmpBuf.data(), "%+d", player->GetActualAttack(false)); |
891 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, 0, pTmpBuf.data(), 84, 0); | 891 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, 0, pTmpBuf.data(), 84, 0); |
892 pY = pFontHeight + pY; | 892 pY = pFontHeight + pY; |
893 if ( !i ) | 893 if ( !i ) |
894 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, 22, pY, 0, pGlobalTXT_LocalizationStrings[66], 60, 0);//Повр. | 894 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, 22, pY, 0, pGlobalTXT_LocalizationStrings[66], 60, 0);//Повр. |
895 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, 0, player->GetMeleeDamageString(), 84, 0); | 895 pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, pX, pY, 0, player->GetMeleeDamageString(), 84, 0); |