diff options
Diffstat (limited to 'src/npc.cpp')
-rw-r--r-- | src/npc.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index 1088a082..5540350a 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -21,7 +21,6 @@ */ #include "animatedsprite.h" -#include "localplayer.h" #include "npc.h" #include "particle.h" #include "text.h" @@ -74,9 +73,6 @@ NPC::NPC(Uint32 id, Uint16 job, Map *map, Network *network): NPC::~NPC() { delete mName; - - if (player_node->getTarget() == this) - player_node->setTarget(NULL); } void NPC::setName(const std::string &name) |