[7298] Switch to support client 3.0.9 (3551).

This commit is contained in:
VladimirMangos 2009-02-18 21:13:54 +03:00
parent 595d1477da
commit 1932ce1ae7
4 changed files with 11 additions and 12 deletions

View file

@ -503,14 +503,13 @@ void LoadDBCStores(const std::string& dataPath)
}
// Check loaded DBC files proper version
if( !sSpellStore.LookupEntry(54909) || // last added spell in 3.0.8a
!sSpellStore.LookupEntry(49184) || // last added spell in 3.0.8a
sSpellStore.LookupEntry(49184)->RecoveryTime!=5000||// last changed spell in 3.0.8a
!sMapStore.LookupEntry(624) || // last map added in 3.0.8a
!sGemPropertiesStore.LookupEntry(1557) || // last gem property added in 3.0.8a
!sItemExtendedCostStore.LookupEntry(2589) || // last item extended cost added in 3.0.8a
!sCharTitlesStore.LookupEntry(144) || // last char title added in 3.0.8a
!sAreaStore.LookupEntry(2769) ) // last area (areaflag) added in 3.0.8a
if( !sSpellStore.LookupEntry(62735) || // last added spell in 3.0.9
!sMapStore.LookupEntry(624) || // last map added in 3.0.8a/3.0.9
!sGemPropertiesStore.LookupEntry(1557) || // last gem property added in 3.0.8a/3.0.9
!sItemExtendedCostStore.LookupEntry(2589) || // last item extended cost added in 3.0.8a/3.0.9
!sCharTitlesStore.LookupEntry(144) || // last char title added in 3.0.8a/3.0.9
!sAreaStore.LookupEntry(2769) || // last area (areaflag) added in 3.0.8a/3.0.9
!sItemStore.LookupEntry(45037) ) // last client known item added in 3.0.9
{
sLog.outError("\nYou have _outdated_ DBC files. Please extract correct versions from current using client.");
exit(1);