diff options
Diffstat (limited to 'src/systems/animating.cpp')
-rw-r--r-- | src/systems/animating.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/systems/animating.cpp b/src/systems/animating.cpp index 8543ba2..50a32fc 100644 --- a/src/systems/animating.cpp +++ b/src/systems/animating.cpp | |||
@@ -64,10 +64,10 @@ void AnimatingSystem::render(Texture& texture) | |||
64 | } | 64 | } |
65 | 65 | ||
66 | Rectangle dstrect { | 66 | Rectangle dstrect { |
67 | static_cast<int>(transform.x), | 67 | static_cast<int>(transform.pos.x()), |
68 | static_cast<int>(transform.y), | 68 | static_cast<int>(transform.pos.y()), |
69 | transform.w, | 69 | transform.size.w(), |
70 | transform.h}; | 70 | transform.size.h()}; |
71 | 71 | ||
72 | const AnimationSet& aset = sprite.animationSet; | 72 | const AnimationSet& aset = sprite.animationSet; |
73 | game_.getRenderer().blit( | 73 | game_.getRenderer().blit( |