From e3b4534dd0a7624b4e460237a2ec22c44cb29ea9 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Sun, 12 Aug 2012 16:13:31 +0200 Subject: [PATCH] fixed Selan's spell animation --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index aff39b5..e5391a1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -139,10 +139,10 @@ int main(int argc, char **argv) { selanAttackAnimation.AddFrame(2, 2); selan.SetAttackAnimation(&selanAttackAnimation); ComplexAnimation selanSpellAnimation(&selanSprite, 30); - selanAttackAnimation.AddFrames(2, 0, Vector(), 3); - selanAttackAnimation.AddFrames(2, 1, Vector(), 2); - selanAttackAnimation.AddFrames(2, 2, Vector(), 3); - selanAttackAnimation.AddFrames(2, 3, Vector(), 2); + selanSpellAnimation.AddFrames(2, 0, Vector(), 3); + selanSpellAnimation.AddFrames(2, 1, Vector(), 2); + selanSpellAnimation.AddFrames(2, 2, Vector(), 3); + selanSpellAnimation.AddFrames(2, 3, Vector(), 2); selan.SetSpellAnimation(&selanSpellAnimation); SDL_Surface *guyImg(IMG_Load("test-data/guy.png")); -- 2.39.2