Fix item info item having a red line on the top

This commit is contained in:
2025-03-09 11:39:04 -04:00
committed by Celtic Minstrel
parent 48ab580993
commit ba4a825644
2 changed files with 6 additions and 2 deletions

View File

@@ -180,15 +180,19 @@ void init_screen_locs() {
item_buttons[0][ITEMBTN_NAME].left = 3;
item_buttons[0][ITEMBTN_NAME].right = item_buttons[0][ITEMBTN_NAME].left + 185;
item_buttons[0][ITEMBTN_USE] = item_buttons[0][ITEMBTN_NAME];
item_buttons[0][ITEMBTN_USE].top++;
item_buttons[0][ITEMBTN_USE].left = 196;
item_buttons[0][ITEMBTN_USE].right = 210;
item_buttons[0][ITEMBTN_GIVE] = item_buttons[0][ITEMBTN_NAME];
item_buttons[0][ITEMBTN_GIVE].top++;
item_buttons[0][ITEMBTN_GIVE].left = 210;
item_buttons[0][ITEMBTN_GIVE].right = 224;
item_buttons[0][ITEMBTN_DROP] = item_buttons[0][ITEMBTN_NAME];
item_buttons[0][ITEMBTN_DROP].top++;
item_buttons[0][ITEMBTN_DROP].left = 224;
item_buttons[0][ITEMBTN_DROP].right = 238;
item_buttons[0][ITEMBTN_INFO] = item_buttons[0][ITEMBTN_NAME];
item_buttons[0][ITEMBTN_INFO].top++;
item_buttons[0][ITEMBTN_INFO].left = 238;
item_buttons[0][ITEMBTN_INFO].right = 252;
item_buttons[0][ITEMBTN_SPEC] = item_buttons[0][ITEMBTN_NAME];

View File

@@ -43,7 +43,7 @@ bool save_mess_given = false;
rectangle status_panel_clip_rect = {11, 299, 175, 495},item_panel_clip_rect = {11,297,175,463};
rectangle item_buttons_from[7] = {
{11,0,24,14},{11,14,24,28},{11,28,24,42},{11,42,24,56},
{12,0,24,14},{12,14,24,28},{12,28,24,42},{12,42,24,56},
{24,0,36,30},{24,30,36,60},{36,0,48,30}
};
@@ -1252,4 +1252,4 @@ std::string get_location(cUniverse* specific_univ) {
}
}
return loc_str;
}
}