# HG changeset patch # User Ritor1 # Date 1363434148 -21600 # Node ID 277c05c3a89f4bc0a52606e863c942094ae122f3 # Parent 9ed3d00d0cb82c34e62b00d7834c84164db7678b m diff -r 9ed3d00d0cb8 -r 277c05c3a89f Player.cpp --- 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); diff -r 9ed3d00d0cb8 -r 277c05c3a89f mm7_5.cpp --- 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);