From 2c8ef727aecb2fefa1b5833e3ed1df9198051d93 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Tue, 20 Jan 2015 10:54:52 -0500 Subject: [PATCH] I don't understand how this issue even existed, but apparently it did --- src/boe.infodlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boe.infodlg.cpp b/src/boe.infodlg.cpp index 46006b13..c2f82813 100644 --- a/src/boe.infodlg.cpp +++ b/src/boe.infodlg.cpp @@ -302,13 +302,13 @@ static bool display_pc_item_event_filter(cDialog& me, std::string item_hit, cIte item = (item == 0) ? 23 : item - 1; } while(univ.party[pc_num].items[item].variety == eItemType::NO_ITEM); store_i = univ.party[pc_num].items[item]; - put_item_info(me,item); + put_item_info(me,store_i); } else if(item_hit == "right") { do { item = (item == 23) ? 0 : item + 1; } while(univ.party[pc_num].items[item].variety == eItemType::NO_ITEM); store_i = univ.party[pc_num].items[item]; - put_item_info(me,item); + put_item_info(me,store_i); } return true; }