Mercurial > might-and-magic-trilogy
diff mm7_1.cpp @ 82:f9a33f75bae3
Qick Record
author | Nomad |
---|---|
date | Mon, 29 Oct 2012 00:41:51 +0200 |
parents | 5159d2e6f559 |
children | 2d5d13376e91 |
line wrap: on
line diff
--- a/mm7_1.cpp Sun Oct 28 18:51:52 2012 +0200 +++ b/mm7_1.cpp Mon Oct 29 00:41:51 2012 +0200 @@ -1054,7 +1054,7 @@ v0); sprintfex(pTmpBuf, "%d", pPlayer->sHealth); v8 = pPlayer->GetMaxHealth(); - v9 = sub_4178FE(pPlayer->sHealth, v8); + v9 = UI_GetHealthManaStringColor(pPlayer->sHealth, v8); pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, v44, v7, v9, pTmpBuf, 84, v0); v10 = v45 + v7; if ( v43 == v0 ) @@ -1068,7 +1068,7 @@ v0); sprintfex(pTmpBuf, "%d", pPlayer->sMana); v11 = pPlayer->GetMaxMana(); - v12 = sub_4178FE(pPlayer->sMana, v11); + v12 = UI_GetHealthManaStringColor(pPlayer->sMana, v11); pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, v44, v10, v12, pTmpBuf, 84, v0); v13 = v45 + v10; if ( v43 == v0 ) @@ -1085,7 +1085,7 @@ v15 = v0; v16 = pPlayer->GetBaseAC(); v17 = pPlayer->GetActualAC(); - v18 = sub_4178FE(v17, v16); + v18 = UI_GetHealthManaStringColor(v17, v16); pGUIWindow_CurrentMenu->DrawTextInRect(pFontArrus, v44, v13, v18, pTmpBuf, 84, v15); v0 = 0; v19 = v45 + v13;