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.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/game-server/monstermanager.cpp b/src/game-server/monstermanager.cpp
index 0043cdb4..327c5c10 100644
--- a/src/game-server/monstermanager.cpp
+++ b/src/game-server/monstermanager.cpp
@@ -216,22 +216,9 @@ void MonsterManager::readMonsterNode(xmlNodePtr node, const std::string &filenam
monster->addAbility(info);
}
- else if (xmlStrEqual(subnode->name, BAD_CAST "exp"))
- {
- xmlChar *exp = subnode->xmlChildrenNode->content;
- monster->setExp(atoi((const char*)exp));
- monster->setOptimalLevel(XML::getProperty(subnode, "level", 0));
- }
}
monster->setDrops(drops);
- if (monster->getExp() == -1)
- {
- LOG_WARN(filename
- << ": No experience defined for monster Id:" << monsterId
- << " (" << name << ")");
- monster->setExp(0);
- }
}
/**