diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-31 18:16:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-31 18:20:41 +0300 |
commit | 6661187fdc8278c9f9a15c6cdb4d85301a3e548c (patch) | |
tree | 2d3f2e1b08acbdc612ee000bbb73fe7971c987b8 /src | |
parent | 203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81 (diff) | |
download | manaverse-6661187fdc8278c9f9a15c6cdb4d85301a3e548c.tar.gz manaverse-6661187fdc8278c9f9a15c6cdb4d85301a3e548c.tar.bz2 manaverse-6661187fdc8278c9f9a15c6cdb4d85301a3e548c.tar.xz manaverse-6661187fdc8278c9f9a15c6cdb4d85301a3e548c.zip |
Fix attack animation length issue.
Before all attacks was stopped after near 1 second.
Now it play animation before state changed.
Diffstat (limited to 'src')
-rw-r--r-- | src/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index 034478067..47e1f03fc 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1311,7 +1311,7 @@ void Being::logic() controlParticle(p); } - if (curFrame >= frameCount) + if (this == player_node && curFrame >= frameCount) nextTile(); break; |