talk/shop: try to remove uneeded item's drop/give/use icons...
This commit is contained in:
@@ -865,7 +865,8 @@ void handle_talk_event(location p) {
|
||||
save_talk_str2 = univ.town.cur_talk().talk_nodes[which_talk_entry].str2;
|
||||
|
||||
can_save_talk = true;
|
||||
|
||||
stat_screen_mode = MODE_SHOP;
|
||||
|
||||
switch(ttype) {
|
||||
case eTalkNode::REGULAR:
|
||||
break;
|
||||
|
@@ -331,14 +331,9 @@ void put_item_screen(eItemWinMode screen_num) {
|
||||
style.italic = false;
|
||||
style.colour = Colours::BLACK;
|
||||
|
||||
// this is kludgy, awkwark, and has redundant code. Done this way to
|
||||
// make go faster, and I got lazy.
|
||||
if((stat_screen_mode == MODE_SHOP) &&
|
||||
((is_town()) || (is_out()) || ((is_combat()) && (pc == univ.cur_pc)))) { // place give and drop and use
|
||||
if(stat_screen_mode == MODE_SHOP && !is_combat()) { // place give and drop and use
|
||||
place_item_graphic(i,item.graphic_num);
|
||||
if(item.can_use()) // place use if can
|
||||
place_item_button(ITEMBTN_NORM,i);
|
||||
else place_item_button(ITEMBTN_ALL,i);
|
||||
place_item_button(3,i,ITEMBTN_INFO); // info button
|
||||
}
|
||||
else {
|
||||
place_item_graphic(i,item.graphic_num);
|
||||
|
Reference in New Issue
Block a user