diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-05 22:15:16 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-05 22:15:16 -0600 |
commit | 61f7c4269472c806e63b1061cd4e4b8c831c3b59 (patch) | |
tree | 052606a21908545b494b5c36e3edc93ce10eaef1 /src/beingmanager.cpp | |
parent | 99dbfa9e84ea30993d44d2a39bd5d06ae553c849 (diff) | |
download | mana-61f7c4269472c806e63b1061cd4e4b8c831c3b59.tar.gz mana-61f7c4269472c806e63b1061cd4e4b8c831c3b59.tar.bz2 mana-61f7c4269472c806e63b1061cd4e4b8c831c3b59.tar.xz mana-61f7c4269472c806e63b1061cd4e4b8c831c3b59.zip |
Remove extra check on player target
~Being does this too, so let's leave it there.
Diffstat (limited to 'src/beingmanager.cpp')
-rw-r--r-- | src/beingmanager.cpp | 4 |
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; } |