diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/sewerboss/DiamondGooRoom.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/sewerboss/DiamondGooRoom.java index 5d7da1ffe..85efc0531 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/sewerboss/DiamondGooRoom.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/sewerboss/DiamondGooRoom.java @@ -33,7 +33,9 @@ public class DiamondGooRoom extends GooBossRoom { public void paint(Level level) { Painter.fill( level, this, Terrain.WALL ); - int diamondWidth = 2 + width()%2; + //we want the end width to be width()-2, and the width will grow by a total of (height()-4 - height()%2) + int diamondWidth = width()-2 - (height()-4 - height()%2); + for (int i = 1; i < height(); i++){ Painter.fill( level, left + (width() - diamondWidth)/2, top+i, diamondWidth, height()-2*i, Terrain.EMPTY); diamondWidth += 2;