]> git.localhorst.tv Git - l2e.git/commitdiff
fixed Selan's spell animation
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 12 Aug 2012 14:13:31 +0000 (16:13 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 12 Aug 2012 14:13:31 +0000 (16:13 +0200)
src/main.cpp

index aff39b5fee7c6145b17eb51809d7c841803a2c9d..e5391a1659f50a19184c0cc36cff72c6020ab9e4 100644 (file)
@@ -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<int>(), 3);
-               selanAttackAnimation.AddFrames(2, 1, Vector<int>(), 2);
-               selanAttackAnimation.AddFrames(2, 2, Vector<int>(), 3);
-               selanAttackAnimation.AddFrames(2, 3, Vector<int>(), 2);
+               selanSpellAnimation.AddFrames(2, 0, Vector<int>(), 3);
+               selanSpellAnimation.AddFrames(2, 1, Vector<int>(), 2);
+               selanSpellAnimation.AddFrames(2, 2, Vector<int>(), 3);
+               selanSpellAnimation.AddFrames(2, 3, Vector<int>(), 2);
                selan.SetSpellAnimation(&selanSpellAnimation);
 
                SDL_Surface *guyImg(IMG_Load("test-data/guy.png"));