summaryrefslogtreecommitdiff
path: root/src/game-server/monster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/monster.cpp')
-rw-r--r--src/game-server/monster.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp
index 07916d0e..fe23ba5f 100644
--- a/src/game-server/monster.cpp
+++ b/src/game-server/monster.cpp
@@ -133,16 +133,6 @@ Monster::~Monster()
{
i->first->removeListener(&mTargetListener);
}
-
- // Free the map position
- if (getMap())
- {
- Point oldP = getPosition();
- Map *map = getMap()->getMap();
- int tileWidth = map->getTileWidth();
- int tileHeight = map->getTileHeight();
- map->freeTile(oldP.x / tileWidth, oldP.y / tileHeight, getBlockType());
- }
}
void Monster::perform()