From 6661187fdc8278c9f9a15c6cdb4d85301a3e548c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 Jul 2011 18:16:07 +0300 Subject: Fix attack animation length issue. Before all attacks was stopped after near 1 second. Now it play animation before state changed. --- src/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being.cpp') 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; -- cgit v1.2.3-70-g09d2