From 0b12c513c30c4cc34667af4031811328b14fb8a4 Mon Sep 17 00:00:00 2001 From: quinnvoker Date: Sat, 1 Dec 2018 19:59:06 -0800 Subject: [PATCH] Origin Code Enabled --- QURO.AnimationLibrary/AnimatedSprite.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QURO.AnimationLibrary/AnimatedSprite.cs b/QURO.AnimationLibrary/AnimatedSprite.cs index a420a67..7589e04 100644 --- a/QURO.AnimationLibrary/AnimatedSprite.cs +++ b/QURO.AnimationLibrary/AnimatedSprite.cs @@ -74,7 +74,7 @@ namespace QURO.AnimationLibrary public void Draw(SpriteBatch spriteBatch, Vector2 position, Color tint) { - spriteBatch.Draw(SpriteSheet, position, CurrentFrame.Bounds, tint); + spriteBatch.Draw(SpriteSheet, position - CurrentFrame.Origin, CurrentFrame.Bounds, tint); } public void Draw(SpriteBatch spriteBatch, Vector2 position, Vector2 spriteOffset, Color tint)