Fix item name separator position
This commit is contained in:
parent
25fc67fec1
commit
134ab451e3
|
@ -3270,12 +3270,13 @@ static void inventoryExamineItem(Object* critter, Object* item)
|
||||||
int lineHeight = fontGetLineHeight();
|
int lineHeight = fontGetLineHeight();
|
||||||
|
|
||||||
// Draw separator.
|
// Draw separator.
|
||||||
|
// SFALL: Fix separator position when item name is longer than one line.
|
||||||
bufferDrawLine(windowBuffer,
|
bufferDrawLine(windowBuffer,
|
||||||
INVENTORY_WINDOW_WIDTH,
|
INVENTORY_WINDOW_WIDTH,
|
||||||
INVENTORY_SUMMARY_X,
|
INVENTORY_SUMMARY_X,
|
||||||
3 * lineHeight / 2 + 49,
|
(_inven_display_msg_line - 1) * lineHeight + lineHeight / 2 + 49,
|
||||||
INVENTORY_SUMMARY_MAX_X,
|
INVENTORY_SUMMARY_MAX_X,
|
||||||
3 * lineHeight / 2 + 49,
|
(_inven_display_msg_line - 1) * lineHeight + lineHeight / 2 + 49,
|
||||||
_colorTable[992]);
|
_colorTable[992]);
|
||||||
|
|
||||||
// Examine item.
|
// Examine item.
|
||||||
|
|
Loading…
Reference in New Issue