comparison mm7_5.cpp @ 246:1bfe546561c4

sprintfex
author Nomad
date Mon, 18 Feb 2013 03:58:08 +0200
parents 47e06334c564
children fb8a876f41e1
comparison
equal deleted inserted replaced
236:99ef31ffa74e 246:1bfe546561c4
3477 case UIMSG_ShowStatus_Funds: 3477 case UIMSG_ShowStatus_Funds:
3478 v174 = (char *)pParty->uNumGoldInBank; 3478 v174 = (char *)pParty->uNumGoldInBank;
3479 v158 = pParty->uNumGold + pParty->uNumGoldInBank; 3479 v158 = pParty->uNumGold + pParty->uNumGoldInBank;
3480 v146 = pGlobalTXT_LocalizationStrings[489];// "You have %d total gold, %d in the Bank"" 3480 v146 = pGlobalTXT_LocalizationStrings[489];// "You have %d total gold, %d in the Bank""
3481 //goto _sprintex_draw_status_and_continue; 3481 //goto _sprintex_draw_status_and_continue;
3482 sprintf(pTmpBuf, v146, v158, v174); 3482 sprintfex(pTmpBuf, v146, v158, v174);
3483 sub_41C0B8_set_status_string(pTmpBuf); 3483 sub_41C0B8_set_status_string(pTmpBuf);
3484 continue; 3484 continue;
3485 case UIMSG_ShowStatus_DateTime: 3485 case UIMSG_ShowStatus_DateTime:
3486 pNPCData4 = (NPCData *)pParty->uCurrentHour; 3486 pNPCData4 = (NPCData *)pParty->uCurrentHour;
3487 if ( (signed int)pParty->uCurrentHour <= 12 ) 3487 if ( (signed int)pParty->uCurrentHour <= 12 )