summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-19 02:24:20 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-19 02:24:20 +0300
commit886522371299b45254b7dc72e6de3070703d7c10 (patch)
tree738745eab76eb5f55a9adc08bfac10077b07efac /src/resources
parent7cd309e7c9e0200cedb45edfeeba5a601d3fb446 (diff)
downloadplus-886522371299b45254b7dc72e6de3070703d7c10.tar.gz
plus-886522371299b45254b7dc72e6de3070703d7c10.tar.bz2
plus-886522371299b45254b7dc72e6de3070703d7c10.tar.xz
plus-886522371299b45254b7dc72e6de3070703d7c10.zip
Enable server type selection again. Add evol server type. Now working same as tmweathena.
Diffstat (limited to 'src/resources')
-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 75d268c43..fbd7d10ad 100644
--- a/src/resources/monsterdb.cpp
+++ b/src/resources/monsterdb.cpp
@@ -60,8 +60,8 @@ void MonsterDB::load()
}
#ifdef MANASERV_SUPPORT
- int offset = XML::getProperty(rootNode, "offset", Net::getNetworkType() ==
- ServerInfo::TMWATHENA ? OLD_TMWATHENA_OFFSET : 0);
+ int offset = XML::getProperty(rootNode, "offset", Net::getNetworkType() !=
+ ServerInfo::MANASERV ? OLD_TMWATHENA_OFFSET : 0);
#else
int offset = XML::getProperty(rootNode, "offset", OLD_TMWATHENA_OFFSET);
#endif