From 0845e29a091ab96bd4d9b2c21c825cab758f28b1 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 1 Oct 2019 14:32:24 -0400 Subject: [PATCH] v0.7.5: fixed item info window now showing names of heaps --- .../shatteredpixeldungeon/windows/WndInfoItem.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoItem.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoItem.java index 261b27bbb..56d61c44f 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoItem.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoItem.java @@ -61,8 +61,7 @@ public class WndInfoItem extends Window { int width = SPDSettings.landscape() ? WIDTH_L : WIDTH_P; - IconTitle titlebar = new IconTitle(); - titlebar.icon( new ItemSprite(heap) ); + IconTitle titlebar = new IconTitle( heap ); titlebar.color( TITLE_COLOR ); titlebar.setRect( 0, 0, width, 0 ); add( titlebar );