diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/monsterdb.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index 49e09f9f..adf90bc6 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -29,6 +29,8 @@ #include "utils/gettext.h" #include "utils/xml.h" +#include "net/net.h" + namespace { MonsterDB::MonsterInfos mMonsterInfos; @@ -53,7 +55,8 @@ void MonsterDB::load() logger->error("Monster Database: Error while loading monster.xml!"); } - int offset = XML::getProperty(rootNode, "offset", 0); + int offset = XML::getProperty(rootNode, "offset", + Net::getNetworkType() == ServerInfo::EATHENA ? 1002 : 0); //iterate <monster>s for_each_xml_child_node(monsterNode, rootNode) |