diff options
Diffstat (limited to 'src/monster.cpp')
-rw-r--r-- | src/monster.cpp | 2 |
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(); |