From 3730a6028626cfcdab9bd98aecfeadf6c884b505 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 24 Jan 2010 14:43:14 -0700 Subject: Remove some more _SUPPORT ifdefs --- src/beingmanager.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/beingmanager.cpp') 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; } -- cgit v1.2.3-70-g09d2