Mercurial > mm7
changeset 1723:29924bbb2a4e
m
author | Ritor1 |
---|---|
date | Wed, 25 Sep 2013 11:13:08 +0600 |
parents | e1c451f4d5ba |
children | 8bf9a9d9740b |
files | UI/UIPopup.cpp |
diffstat | 1 files changed, 19 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/UI/UIPopup.cpp Wed Sep 25 11:12:49 2013 +0600 +++ b/UI/UIPopup.cpp Wed Sep 25 11:13:08 2013 +0600 @@ -1496,31 +1496,25 @@ break; } case SCREEN_CHARACTERS: - case SCREEN_E: - case SCREEN_CHEST_INVENTORY: - { - if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E ) - { - OnInventoryItemRightClick(); - } - else if ( (signed int)pY >= 345 ) - break; - else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 100 )//2DEvent - CharacerScreenStats - { - CharacterUI_StatsTab_ShowHint(); - } - else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 101 )//2DEvent - CharacerScreenSkills - { - CharacterUI_SkillsTab_ShowHint(); - } - else - { - if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103 )//2DEvent - CharacerScreenInventory - OnInventoryItemRightClick(); - } - break; - } - case SCREEN_SPELL_BOOK: + case SCREEN_E: + case SCREEN_CHEST_INVENTORY: + { + if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E ) + OnInventoryItemRightClick(); + else if ( (signed int)pY >= 345 ) + break; + else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 100 )//2DEvent - CharacerScreenStats + CharacterUI_StatsTab_ShowHint(); + else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 101 )//2DEvent - CharacerScreenSkills + CharacterUI_SkillsTab_ShowHint(); + else + { + if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103 )//2DEvent - CharacerScreenInventory + OnInventoryItemRightClick(); + } + break; + } + case SCREEN_SPELL_BOOK: { if ( dword_507B00_spell_info_to_draw_in_popup ) DrawSpellDescriptionPopup(dword_507B00_spell_info_to_draw_in_popup - 1);