From: Daniel Karbach Date: Sun, 12 Aug 2012 14:13:31 +0000 (+0200) Subject: fixed Selan's spell animation X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=e3b4534dd0a7624b4e460237a2ec22c44cb29ea9;p=l2e.git fixed Selan's spell animation --- 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"));