Fix showing wrong buttons in the item list
This commit is contained in:
@@ -454,7 +454,7 @@ void place_item_button(short button_position,short which_slot,eItemButton button
|
|||||||
switch(button_position) {
|
switch(button_position) {
|
||||||
default: // this means put a regular item button
|
default: // this means put a regular item button
|
||||||
item_area_button_active[which_slot][button_type] = true;
|
item_area_button_active[which_slot][button_type] = true;
|
||||||
rect_draw_some_item(invenbtn_gworld, item_buttons_from[button_type], item_stats_gworld, item_buttons[which_slot][button_type], sf::BlendAlpha);
|
rect_draw_some_item(invenbtn_gworld, item_buttons_from[button_type - 1], item_stats_gworld, item_buttons[which_slot][button_type], sf::BlendAlpha);
|
||||||
break;
|
break;
|
||||||
case ITEMBTN_ALL: // this means put all 4
|
case ITEMBTN_ALL: // this means put all 4
|
||||||
item_area_button_active[which_slot][ITEMBTN_USE] = true;
|
item_area_button_active[which_slot][ITEMBTN_USE] = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user