summaryrefslogtreecommitdiff
path: root/src/game-server/monstermanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/monstermanager.cpp')
-rw-r--r--src/game-server/monstermanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game-server/monstermanager.cpp b/src/game-server/monstermanager.cpp
index a719e1a8..a98126e0 100644
--- a/src/game-server/monstermanager.cpp
+++ b/src/game-server/monstermanager.cpp
@@ -164,10 +164,10 @@ void MonsterManager::reload()
}
bool attributesComplete = true;
- 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)
{
if (!monster->mAttributes.count(it->first))