X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain.cpp;h=f7707ef1cc0570053097d7e18a8271e23c921dba;hb=7263bddbde91d555decd58f043f6b43f54ba2b00;hp=1781e5fdc9b1b60b7e68b5bbe5bb749670a43fed;hpb=c6156f6b3dc88a97a78694a2652dfbc874fcc8e4;p=l2e.git diff --git a/src/main.cpp b/src/main.cpp index 1781e5f..f7707ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -98,7 +98,7 @@ int main(int argc, char **argv) { monster.SetHealth(8); monster.SetStats(Stats(14, 6, 6, 6, 6, 6, 6)); monster.SetReward(3, 5); - ComplexAnimation monsterAttackAnimation(&monsterSprite, 120); + ComplexAnimation monsterAttackAnimation(&monsterSprite, 4 * framerate); monsterAttackAnimation.AddFrame(0, 1, Vector(16, 0)); monsterAttackAnimation.AddFrame(0, 0, Vector(16, 0)); monsterAttackAnimation.AddFrame(0, 1, Vector(16, 0));