Mercurial > mm7
comparison mm7_2.cpp @ 987:9e132060ada3
UIMSG_CHEST_ClickItem
author | Ritor1 |
---|---|
date | Sun, 12 May 2013 18:11:21 +0600 |
parents | 1462a5f12b65 |
children | 087a9af8e0ec |
comparison
equal
deleted
inserted
replaced
986:b584c743cb47 | 987:9e132060ada3 |
---|---|
905 unsigned int v79; // [sp+A8h] [bp-Ch]@9 | 905 unsigned int v79; // [sp+A8h] [bp-Ch]@9 |
906 int uPriceItemService; // [sp+ACh] [bp-8h]@12 | 906 int uPriceItemService; // [sp+ACh] [bp-8h]@12 |
907 | 907 |
908 if ( pCurrentScreen == SCREEN_E ) | 908 if ( pCurrentScreen == SCREEN_E ) |
909 { | 909 { |
910 sub_421EA6_OnInventoryLeftClick(); | 910 OnInventoryLeftClick(); |
911 return; | 911 return; |
912 } | 912 } |
913 if ( !sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win() ) | 913 if ( !sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win() ) |
914 { | 914 { |
915 pAudioPlayer->PlaySound(SOUND_27, 0, 0, -1, 0, 0, 0, 0); | 915 pAudioPlayer->PlaySound(SOUND_27, 0, 0, -1, 0, 0, 0, 0); |
919 switch(dialog_menu_id) | 919 switch(dialog_menu_id) |
920 { | 920 { |
921 case HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT: | 921 case HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT: |
922 { | 922 { |
923 pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] = 103; | 923 pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] = 103; |
924 sub_421EA6_OnInventoryLeftClick(); | 924 OnInventoryLeftClick(); |
925 break; | 925 break; |
926 } | 926 } |
927 case HOUSE_DIALOGUE_GUILD_BUY_BOOKS: | 927 case HOUSE_DIALOGUE_GUILD_BUY_BOOKS: |
928 { | 928 { |
929 pCursorPos = pMouse->GetCursorPos(&cursor); | 929 pCursorPos = pMouse->GetCursorPos(&cursor); |