diff options
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r-- | crawl-ref/source/tilereg.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc index 9641cbb141..97e491d2f7 100644 --- a/crawl-ref/source/tilereg.cc +++ b/crawl-ref/source/tilereg.cc @@ -2174,8 +2174,9 @@ void InventoryRegion::render() bool floor = m_items[curs_index].flag & TILEI_FLAG_FLOOR; - int x = m_cursor.x * dx + sx + ox + dx / 2; - int y = m_cursor.y * dy + sy + oy; + // Always draw the description in the inventory header. (jpeg) + int x = sx + ox + dx / 2; + int y = sy + oy; const coord_def min_pos(sx, sy - dy); const coord_def max_pos(ex, ey); |