From 1d1375bd3a0f1ca3c8c06f923f033eade0be07dd Mon Sep 17 00:00:00 2001 From: Major- Date: Sat, 23 Aug 2014 17:48:27 +0100 Subject: [PATCH] Make getWidth and getHeight methods return the correct fields in ObjectDefinition. --- src/org/apollo/game/model/def/ObjectDefinition.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/apollo/game/model/def/ObjectDefinition.java b/src/org/apollo/game/model/def/ObjectDefinition.java index c0ef27cb..8925dd61 100644 --- a/src/org/apollo/game/model/def/ObjectDefinition.java +++ b/src/org/apollo/game/model/def/ObjectDefinition.java @@ -132,7 +132,7 @@ public final class ObjectDefinition { * @return The height. */ public int getHeight() { - return width; + return height; } /** @@ -168,7 +168,7 @@ public final class ObjectDefinition { * @return The width. */ public int getWidth() { - return height; + return width; } /**