From 04af237d2a0b7c27751ad6f21136c0f431e653b6 Mon Sep 17 00:00:00 2001 From: tomrus88 Date: Thu, 23 Apr 2009 15:04:03 +0400 Subject: [PATCH] Updated DBC version check. Thanks to yad02. --- src/game/DBCStores.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/game/DBCStores.cpp b/src/game/DBCStores.cpp index d3ee63a08..6fe154701 100644 --- a/src/game/DBCStores.cpp +++ b/src/game/DBCStores.cpp @@ -481,13 +481,13 @@ void LoadDBCStores(const std::string& dataPath) } // Check loaded DBC files proper version - if( !sSpellStore.LookupEntry(100034) || // last added spell in 3.1.0 - !sMapStore.LookupEntry(624) || // last map added in 3.1.0 - !sGemPropertiesStore.LookupEntry(1557) || // last gem property added in 3.1.0 - !sItemExtendedCostStore.LookupEntry(2595) || // last item extended cost added in 3.1.0 - !sCharTitlesStore.LookupEntry(154) || // last char title added in 3.1.0 - !sAreaStore.LookupEntry(2833) || // last area (areaflag) added in 3.1.0 - !sItemStore.LookupEntry(45704) ) // last client known item added in 3.1.0 + if( !sSpellStore.LookupEntry(65509) || // last added spell in 3.1.1 + !sMapStore.LookupEntry(624) || // last map added in 3.1.1 + !sGemPropertiesStore.LookupEntry(1609) || // last gem property added in 3.1.1 + !sItemExtendedCostStore.LookupEntry(2670) || // last item extended cost added in 3.1.1 + !sCharTitlesStore.LookupEntry(166) || // last char title added in 3.1.1 + !sAreaStore.LookupEntry(2905) || // last area (areaflag) added in 3.1.1 + !sItemStore.LookupEntry(46379) ) // last client known item added in 3.1.1 { sLog.outError("\nYou have _outdated_ DBC files. Please extract correct versions from current using client."); exit(1);