X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmain.cpp;h=e5391a1659f50a19184c0cc36cff72c6020ab9e4;hb=1162be37102b24df11f469495c0184f3f9a26ba0;hp=aff39b5fee7c6145b17eb51809d7c841803a2c9d;hpb=854e5229c3f30bf88aa08d7f0aff56a1411c3367;p=l2e.git 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"));