summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/monster.cpp')
-rw-r--r--src/monster.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/monster.cpp b/src/monster.cpp
index cc529196..f5687ef6 100644
--- a/src/monster.cpp
+++ b/src/monster.cpp
@@ -77,11 +77,7 @@ Monster::Monster(Uint32 id, Uint16 job, Map *map):
Monster::~Monster()
{
- if (mText)
- {
- delete mText;
- player_node->setTarget(NULL);
- }
+ delete mText;
}
void Monster::logic()