changeset 715:277c05c3a89f

m
author Ritor1
date Sat, 16 Mar 2013 17:42:28 +0600
parents 9ed3d00d0cb8
children 964323fa0d25
files Player.cpp mm7_5.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Player.cpp	Sat Mar 16 09:33:12 2013 +0600
+++ b/Player.cpp	Sat Mar 16 17:42:28 2013 +0600
@@ -8979,7 +8979,7 @@
               goto LABEL_82;
             case VAR_FixedFood:
               Party::GiveFood(val);
-              sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[502], val);
+              sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[502], val);
               ShowStatusBarString(pTmpBuf, 2u);
               if ( pParty->uNumFoodRations > 0xFFFF )
                 Party::SetFood(0xFFFFu);
--- a/mm7_5.cpp	Sat Mar 16 09:33:12 2013 +0600
+++ b/mm7_5.cpp	Sat Mar 16 17:42:28 2013 +0600
@@ -16881,7 +16881,7 @@
       if ( v15 > v14->uLevel )
         sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[147], v15);
       v16 = sub_4B46F8(v15) - LODWORD(v14->uExperience);
-      sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[538], v16, v15 + 1);
+      sprintfex(pTmpBuf2, pGlobalTXT_LocalizationStrings[538], v16, v15 + 1);
       strcat(pTmpBuf, "\n");
       strcat(pTmpBuf, pTmpBuf2);
       LOBYTE(_y) = sprintf(pTmpBuf2, "%s\n \n%s", pPlayerExperienceAttributeDescription, pTmpBuf);
@@ -17104,7 +17104,7 @@
   pRenderer->DrawTextureIndexed(8, 8, (Texture *)(v2 != -1 ? (int)&pIcons_LOD->pTextures[v2] : 0));
   v3 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu);
   sprintf(pTmpBuf, "\f%05d", v3);
-  sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[429], pPlayer->pName, pClassNames[pPlayer->classType]);//^Pi[%s] %s
+  sprintfex(pTmpBuf2, pGlobalTXT_LocalizationStrings[429], pPlayer->pName, pClassNames[pPlayer->classType]);//^Pi[%s] %s
   strcat(pTmpBuf, pTmpBuf2);
   if ( pPlayer->uSkillPoints )
     v4 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0, 0xFFu, 0);