Skip to content

Commit

Permalink
Make getWidth and getHeight methods return the correct fields in Obje…
Browse files Browse the repository at this point in the history
…ctDefinition.
  • Loading branch information
Major- committed Aug 23, 2014
1 parent 8f3d594 commit 269311d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/apollo/game/model/def/ObjectDefinition.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public String getDescription() {
* @return The height.
*/
public int getHeight() {
return width;
return height;
}

/**
Expand Down Expand Up @@ -168,7 +168,7 @@ public String getName() {
* @return The width.
*/
public int getWidth() {
return height;
return width;
}

/**
Expand Down

0 comments on commit 269311d

Please sign in to comment.