summaryrefslogtreecommitdiff
path: root/src/game-server/monster.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-21 19:44:11 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-03-25 20:32:37 +0100
commit4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64 (patch)
tree1b77436b4623c8c1fc4419758e623753899fd818 /src/game-server/monster.cpp
parent7aeb3b4a6c34a8f679719c207e51394d7e48828b (diff)
downloadmanaserv-4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64.tar.gz
manaserv-4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64.tar.bz2
manaserv-4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64.tar.xz
manaserv-4e9e0ac87b4dc16f19ac4f930d52c4cc0a2c6f64.zip
Changed NPC to an NpcComponent added to a Being
Diffstat (limited to 'src/game-server/monster.cpp')
-rw-r--r--src/game-server/monster.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp
index edc89ec1..ceae82ca 100644
--- a/src/game-server/monster.cpp
+++ b/src/game-server/monster.cpp
@@ -60,6 +60,7 @@ Monster::Monster(MonsterClass *specy):
LOG_DEBUG("Monster spawned! (id: " << mSpecy->getId() << ").");
setWalkMask(Map::BLOCKMASK_WALL | Map::BLOCKMASK_CHARACTER);
+ setBlockType(BLOCKTYPE_MONSTER);
/*
* Initialise the attribute structures.