From 61f7c4269472c806e63b1061cd4e4b8c831c3b59 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 5 May 2009 22:15:16 -0600 Subject: Remove extra check on player target ~Being does this too, so let's leave it there. --- src/beingmanager.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/beingmanager.cpp') 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; } -- cgit v1.2.3-70-g09d2