summaryrefslogtreecommitdiff
path: root/src/resources/monsterdb.cpp
diff options
context:
space:
mode:
authorBertram <yohanndotferreiraatorange.fr>2010-04-16 13:58:56 +0200
committerBertram <yohanndotferreiraatorange.fr>2010-04-17 12:03:44 +0200
commit3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5 (patch)
tree5737c40d37a7b87897b9dc9b422198b28a18b13a /src/resources/monsterdb.cpp
parent924760c45e0f1aa1105e192bd83d6a4ce2c80f81 (diff)
downloadmana-3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5.tar.gz
mana-3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5.tar.bz2
mana-3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5.tar.xz
mana-3ae525b05858af105cc7e3eb6ac7316fc2f5bbd5.zip
Changed eAthena protocol name to TmwAthena and changed the config files accordingly.
This makes room for the actual eAthena protocol future inclusion.
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r--src/resources/monsterdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp
index f9acf1ce..e9afa7ef 100644
--- a/src/resources/monsterdb.cpp
+++ b/src/resources/monsterdb.cpp
@@ -31,7 +31,7 @@
#include "net/net.h"
-#define OLD_EATHENA_OFFSET 1002
+#define OLD_TMWATHENA_OFFSET 1002
namespace
{
@@ -58,7 +58,7 @@ void MonsterDB::load()
}
int offset = XML::getProperty(rootNode, "offset", Net::getNetworkType() ==
- ServerInfo::EATHENA ? OLD_EATHENA_OFFSET : 0);
+ ServerInfo::TMWATHENA ? OLD_TMWATHENA_OFFSET : 0);
//iterate <monster>s
for_each_xml_child_node(monsterNode, rootNode)