summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/monster.cpp')
-rw-r--r--src/monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monster.cpp b/src/monster.cpp
index fd3c220e..57a6f229 100644
--- a/src/monster.cpp
+++ b/src/monster.cpp
@@ -74,7 +74,7 @@ void Monster::logic()
#ifdef EATHENA_SUPPORT
if (mAction != STAND)
{
- mFrame = (get_elapsed_time(mWalkTime) * 4) / getWalkSpeed();
+ mFrame = (int) ((get_elapsed_time(mWalkTime) * 4) / getWalkSpeed());
if (mFrame >= 4 && mAction != DEAD)
nextStep();