summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/HeadedPawn.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/HeadedPawn.java b/core/src/ch/asynk/rustanddust/engine/HeadedPawn.java
index f982cd1..c26610f 100644
--- a/core/src/ch/asynk/rustanddust/engine/HeadedPawn.java
+++ b/core/src/ch/asynk/rustanddust/engine/HeadedPawn.java
@@ -79,16 +79,16 @@ public abstract class HeadedPawn extends Pawn
@Override
public void draw(Batch batch)
{
- head.draw(batch);
super.draw(batch);
+ head.draw(batch);
}
@Override
public void drawDebug(ShapeRenderer debugShapes)
{
+ super.drawDebug(debugShapes);
float w = head.getWidth();
float h = head.getHeight();
debugShapes.rect(head.getX(), head.getY(), (w / 2f), (h / 2f), w, h, head.getScaleX(), head.getScaleY(), head.getRotation());
- super.drawDebug(debugShapes);
}
}