Mercurial > mm7
diff UI/UIShops.cpp @ 1683:96d567a7d15f
moving OnInventoryLeftClick to Player::
author | Grumpy7 |
---|---|
date | Fri, 20 Sep 2013 10:34:07 +0200 |
parents | 9f8b3e904e14 |
children | f44b6e02e81c |
line wrap: on
line diff
--- a/UI/UIShops.cpp Fri Sep 20 10:23:54 2013 +0200 +++ b/UI/UIShops.cpp Fri Sep 20 10:34:07 2013 +0200 @@ -2317,7 +2317,7 @@ if ( pCurrentScreen == SCREEN_E ) { - OnInventoryLeftClick(); + pPlayers[uActiveCharacter]->OnInventoryLeftClick(); return; } if ( !HouseUI_CheckIfPlayerCanInteract() ) @@ -2331,7 +2331,7 @@ case HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT: { pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] = 103; - OnInventoryLeftClick(); + pPlayers[uActiveCharacter]->OnInventoryLeftClick(); break; } case HOUSE_DIALOGUE_GUILD_BUY_BOOKS: