diff --git a/core/src/com/riiablo/entity/Entity.java b/core/src/com/riiablo/entity/Entity.java index ffbc0156..e51ab720 100644 --- a/core/src/com/riiablo/entity/Entity.java +++ b/core/src/com/riiablo/entity/Entity.java @@ -494,6 +494,7 @@ public abstract class Entity implements Animation.AnimationListener { } public void drawDebugSize(ShapeRenderer shapes) { + if (size < 1) return; shapes.set(ShapeRenderer.ShapeType.Filled); shapes.setColor(Color.GRAY); int[][] SIZE = SIZES[size - 1]; diff --git a/core/src/com/riiablo/entity/Monster.java b/core/src/com/riiablo/entity/Monster.java index c68f5e02..a21b3933 100644 --- a/core/src/com/riiablo/entity/Monster.java +++ b/core/src/com/riiablo/entity/Monster.java @@ -90,6 +90,7 @@ public class Monster extends Entity { setMode(monstats.spawnmode.isEmpty() ? MODE_NU : (byte) Riiablo.files.MonMode.index(monstats.spawnmode)); setWalkSpeed(monstats.Velocity); setRunSpeed(monstats.Run); + setSize(monstats2.SizeX); // assert SizeX == SizeY for (byte i = 0; i < monstats2.ComponentV.length; i++) { String ComponentV = monstats2.ComponentV[i]; if (!ComponentV.isEmpty()) {