diff --git a/src/game/boe.actions.cpp b/src/game/boe.actions.cpp index ff5d7eb8..3b7c4b7c 100644 --- a/src/game/boe.actions.cpp +++ b/src/game/boe.actions.cpp @@ -1773,7 +1773,11 @@ bool handle_action(const sf::Event& event, cFramerateLimiter& fps_limiter) { item_hit = item_sbar->getPosition() + i; switch(j) { case ITEMBTN_NAME: case ITEMBTN_ICON: // equip - handle_equip_item(item_hit, need_redraw); + if(stat_window >= ITEM_WIN_SPECIAL){ + show_item_info(item_hit); + }else{ + handle_equip_item(item_hit, need_redraw); + } break; case ITEMBTN_USE: handle_use_item(item_hit, did_something, need_redraw); diff --git a/src/game/boe.text.cpp b/src/game/boe.text.cpp index c88fb13e..1ab76065 100644 --- a/src/game/boe.text.cpp +++ b/src/game/boe.text.cpp @@ -273,6 +273,7 @@ void put_item_screen(eItemWinMode screen_num) { if(i_num < spec_item_array.size()) { draw_item_string(i, univ.scenario.special_items[spec_item_array[i_num]].name, FONT_BOLD, Colours::BLACK); + item_area_button_active[i][ITEMBTN_NAME] = true; place_item_button(i,ITEMBTN_INFO); if((univ.scenario.special_items[spec_item_array[i_num]].flags % 10 == 1) && (!(is_combat()))){ @@ -302,6 +303,7 @@ void put_item_screen(eItemWinMode screen_num) { draw_line(item_stats_gworld(), from, to, 1, Colours::GREEN); } + item_area_button_active[i][ITEMBTN_NAME] = true; place_item_button(i,ITEMBTN_INFO); } }