summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
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