summaryrefslogtreecommitdiff
path: root/src/beingmanager.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/beingmanager.cpp
parent889108ea9a75a0591cac7efb49bac65629b6fb86 (diff)
downloadmana-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.gz
mana-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.bz2
mana-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.xz
mana-3730a6028626cfcdab9bd98aecfeadf6c884b505.zip
Remove some more _SUPPORT ifdefs
Diffstat (limited to 'src/beingmanager.cpp')
-rw-r--r--src/beingmanager.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp
index cc3d68e5..1f1230d4 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -26,6 +26,9 @@
#include "npc.h"
#include "player.h"
+#include "net/gamehandler.h"
+#include "net/net.h"
+
#include "utils/stringutils.h"
#include "utils/dtor.h"
@@ -180,14 +183,13 @@ void BeingManager::logic()
being->logic();
-#ifdef EATHENA_SUPPORT
- if (being->mAction == Being::DEAD && being->mFrame >= 20)
+ if (being->mAction == Being::DEAD &&
+ Net::getGameHandler()->removeDeadBeings() && being->mFrame >= 20)
{
delete being;
i = mBeings.erase(i);
}
else
-#endif
{
++i;
}