summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/beingmanager.cpp')
-rw-r--r--src/beingmanager.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp
index d128c3e0..284f1343 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -107,10 +107,6 @@ Being *BeingManager::createBeing(int id, Being::Type type, int subtype)
void BeingManager::destroyBeing(Being *being)
{
mBeings.remove(being);
-#ifdef TMWSERV_SUPPORT
- if(being == player_node->getTarget())
- player_node->setTarget(NULL);
-#endif
delete being;
}