Mercurial > mm7
comparison UI/UIHouses.cpp @ 2022:03d9336e862f
SOUND_WalkingOnTo3DModel
author | Ritor1 |
---|---|
date | Wed, 13 Nov 2013 17:41:12 +0600 |
parents | 05b433b8cb37 |
children | b7485a6502f2 |
comparison
equal
deleted
inserted
replaced
2021:b60eaf28bf0c | 2022:03d9336e862f |
---|---|
2044 { | 2044 { |
2045 if ( pParty->uNumGold >= pPriceRoom ) | 2045 if ( pParty->uNumGold >= pPriceRoom ) |
2046 { | 2046 { |
2047 Party::TakeGold(pPriceRoom); | 2047 Party::TakeGold(pPriceRoom); |
2048 PlayHouseSound((unsigned int)window_SpeakInHouse->ptr_1C, HouseSound_NotEnoughMoney_TrainingSuccessful); | 2048 PlayHouseSound((unsigned int)window_SpeakInHouse->ptr_1C, HouseSound_NotEnoughMoney_TrainingSuccessful); |
2049 //dialog_menu_id = HOUSE_DIALOGUE_NULL; | 2049 dialog_menu_id = HOUSE_DIALOGUE_NULL; |
2050 HouseDialogPressCloseBtn(); | 2050 HouseDialogPressCloseBtn(); |
2051 GetHouseGoodbyeSpeech(); | 2051 GetHouseGoodbyeSpeech(); |
2052 pVideoPlayer->Unload(); | 2052 pVideoPlayer->Unload(); |
2053 if ( pMessageQueue_50CBD0->uNumMessages ) | 2053 /*if ( pMessageQueue_50CBD0->uNumMessages ) |
2054 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; | 2054 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; |
2055 pMessageQueue_50CBD0->pMessages[0].eType = UIMSG_RentRoom; | 2055 pMessageQueue_50CBD0->pMessages[0].eType = UIMSG_RentRoom; |
2056 pMessageQueue_50CBD0->pMessages[0].param = (int)window_SpeakInHouse->ptr_1C;//107 | 2056 pMessageQueue_50CBD0->pMessages[0].param = (int)window_SpeakInHouse->ptr_1C;//107 |
2057 pMessageQueue_50CBD0->pMessages[0].field_8 = 1; | 2057 pMessageQueue_50CBD0->pMessages[0].field_8 = 1; |
2058 ++pMessageQueue_50CBD0->uNumMessages; | 2058 ++pMessageQueue_50CBD0->uNumMessages;*/ |
2059 pMessageQueue_50CBD0->AddMessage(UIMSG_RentRoom, (int)window_SpeakInHouse->ptr_1C, 1); | |
2059 window_SpeakInHouse->Release(); | 2060 window_SpeakInHouse->Release(); |
2060 window_SpeakInHouse = 0; | 2061 window_SpeakInHouse = 0; |
2061 return; | 2062 return; |
2062 } | 2063 } |
2063 ShowStatusBarString(pGlobalTXT_LocalizationStrings[155], 2);//У вас не хватает золота | 2064 ShowStatusBarString(pGlobalTXT_LocalizationStrings[155], 2);//У вас не хватает золота |