Skip to content

Commit

Permalink
Fix obstacle shadows not being drawn at the correct angle
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau committed Jul 26, 2023
1 parent 90b4921 commit 42ab426
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/com/agateau/pixelwheels/obstacles/Obstacle.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public void draw(Batch batch, ZLevel zLevel, Rectangle viewBounds) {
mBodyRegionDrawer.draw(mBody, mRegion);
} else {
mBodyRegionDrawer.setBatch(batch);
mBodyRegionDrawer.setZ(-0.1f);
mBodyRegionDrawer.drawShadow(mBody, mRegion);
}
}
Expand Down

0 comments on commit 42ab426

Please sign in to comment.