summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-31 18:16:07 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-31 18:20:41 +0300
commit6661187fdc8278c9f9a15c6cdb4d85301a3e548c (patch)
tree2d3f2e1b08acbdc612ee000bbb73fe7971c987b8 /src
parent203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81 (diff)
downloadManaVerse-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.cpp2
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;