summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-24 14:43:14 -0700
committerJared Adams <jaxad0127@gmail.com>2010-01-24 14:43:14 -0700
commit3730a6028626cfcdab9bd98aecfeadf6c884b505 (patch)
treef78d37fae95f74625a745f5e551c40ae337976d9 /src/monster.cpp
parent889108ea9a75a0591cac7efb49bac65629b6fb86 (diff)
downloadmana-client-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.gz
mana-client-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.bz2
mana-client-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.xz
mana-client-3730a6028626cfcdab9bd98aecfeadf6c884b505.zip
Remove some more _SUPPORT ifdefs
Diffstat (limited to 'src/monster.cpp')
-rw-r--r--src/monster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monster.cpp b/src/monster.cpp
index 34390982..fd3c220e 100644
--- a/src/monster.cpp
+++ b/src/monster.cpp
@@ -69,9 +69,9 @@ Monster::Monster(int id, int job, Map *map):
Being::setName(getInfo().getName());
}
-#ifdef EATHENA_SUPPORT
void Monster::logic()
{
+#ifdef EATHENA_SUPPORT
if (mAction != STAND)
{
mFrame = (get_elapsed_time(mWalkTime) * 4) / getWalkSpeed();
@@ -79,10 +79,10 @@ void Monster::logic()
if (mFrame >= 4 && mAction != DEAD)
nextStep();
}
+#endif
Being::logic();
}
-#endif
void Monster::setAction(Action action, int attackType)
{