diff options
Diffstat (limited to 'src/systems/animating.cpp')
| -rw-r--r-- | src/systems/animating.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/systems/animating.cpp b/src/systems/animating.cpp index 91fe925..22224c9 100644 --- a/src/systems/animating.cpp +++ b/src/systems/animating.cpp | |||
| @@ -51,8 +51,9 @@ void AnimatingSystem::render(Texture& texture) | |||
| 51 | transform.getH()}; | 51 | transform.getH()}; |
| 52 | 52 | ||
| 53 | const AnimationSet& aset = sprite.getAnimationSet(); | 53 | const AnimationSet& aset = sprite.getAnimationSet(); |
| 54 | texture.blit( | 54 | game_.getRenderer().blit( |
| 55 | aset.getTexture(), | 55 | aset.getTexture(), |
| 56 | texture, | ||
| 56 | aset.getFrameRect(sprite.getFrame()), | 57 | aset.getFrameRect(sprite.getFrame()), |
| 57 | dstrect); | 58 | dstrect); |
| 58 | } | 59 | } |
