diff options
Diffstat (limited to 'src/game-server/monster.cpp')
-rw-r--r-- | src/game-server/monster.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp index f77cca0b..f2914da7 100644 --- a/src/game-server/monster.cpp +++ b/src/game-server/monster.cpp @@ -74,10 +74,10 @@ Monster::Monster(MonsterClass *specy): /* * Initialise the attribute structures. */ - const AttributeScopes &mobAttr = attributeManager->getAttributeInfoForType( - ATTR_MOB); + const AttributeScope &mobAttr = attributeManager->getAttributeScope( + MonsterScope); - for (AttributeScopes::const_iterator it = mobAttr.begin(), + for (AttributeScope::const_iterator it = mobAttr.begin(), it_end = mobAttr.end(); it != it_end; ++it) { mAttributes.insert(std::pair< unsigned int, Attribute > |