diff options
Diffstat (limited to 'src/monster.cpp')
-rw-r--r-- | src/monster.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/monster.cpp b/src/monster.cpp index 57a6f229..7da7e759 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -29,6 +29,8 @@ #include "gui/palette.h" +#include "net/net.h" + #include "resources/monsterdb.h" #include "resources/monsterinfo.h" @@ -71,15 +73,13 @@ Monster::Monster(int id, int job, Map *map): void Monster::logic() { -#ifdef EATHENA_SUPPORT - if (mAction != STAND) + if ((Net::getNetworkType() == ServerInfo::EATHENA) && (mAction != STAND)) { mFrame = (int) ((get_elapsed_time(mWalkTime) * 4) / getWalkSpeed()); if (mFrame >= 4 && mAction != DEAD) nextStep(); } -#endif Being::logic(); } |