diff options
Diffstat (limited to 'src/animations.rs')
-rw-r--r-- | src/animations.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/animations.rs b/src/animations.rs index be10f31..43f4326 100644 --- a/src/animations.rs +++ b/src/animations.rs @@ -46,6 +46,8 @@ impl Animation { spritebatch.add( DrawParam::default() .src(self.current.source) + .rotation(self.current.properties.rotation) + .offset(Point2::new(0.5, 0.5)) .dest(position) .scale(Vector2::new(constants::TILE_SCALE, constants::TILE_SCALE)), ); |