summaryrefslogtreecommitdiff
path: root/src/npc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/npc.cpp')
-rw-r--r--src/npc.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/npc.cpp b/src/npc.cpp
index 9aa7ad15..b3dd7b11 100644
--- a/src/npc.cpp
+++ b/src/npc.cpp
@@ -20,7 +20,6 @@
*/
#include "animatedsprite.h"
-#include "localplayer.h"
#include "npc.h"
#include "particle.h"
#include "text.h"
@@ -73,9 +72,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)