aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorweclub <weclub@126.com>2011-12-31 14:01:36 +0800
committerweclub <weclub@126.com>2011-12-31 14:01:36 +0800
commit8c508933677140ec4f63d4d531e0961cc099c08f (patch)
treecc43f879a8f2b317597c5ba9d14376111b6d7218 /src
parentaa8bf2c819c215174509438cbd4ee7a5ecbdaf7f (diff)
Core/DBC: Update DBC check to 4.x
Signed-off-by: weclub <weclub@126.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/DataStores/DBCStores.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/game/DataStores/DBCStores.cpp b/src/server/game/DataStores/DBCStores.cpp
index 4ce5454f2c3..0300f3bf61f 100755
--- a/src/server/game/DataStores/DBCStores.cpp
+++ b/src/server/game/DataStores/DBCStores.cpp
@@ -704,11 +704,11 @@ void LoadDBCStores(const std::string& dataPath)
}
// Check loaded DBC files proper version
- if (!sAreaStore.LookupEntry(3617) || // last area (areaflag) added in 3.3.5a
- !sCharTitlesStore.LookupEntry(177) || // last char title added in 3.3.5a
- !sGemPropertiesStore.LookupEntry(1629) || // last added spell in 3.3.5a
- !sMapStore.LookupEntry(724) || // last map added in 3.3.5a
- !sSpellStore.LookupEntry(80864) ) // last client known item added in 3.3.5a
+ if (//!sAreaStore.LookupEntry(5839) || // last area (areaflag) added in 4.22 (5839 is wrong? why?)
+ !sCharTitlesStore.LookupEntry(279) || // last char title added in 4.22
+ !sGemPropertiesStore.LookupEntry(1860) || // last gem property added in 4.22
+ !sMapStore.LookupEntry(968) || // last map added in 4.22
+ !sSpellStore.LookupEntry(102129) ) // last spell added in 4.22
{
sLog->outError("You have _outdated_ DBC files. Please extract correct versions from current using client.");
exit(1);