mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Added missing call to LoadDB2Stores( )
The core was not loading the DB2 files.
This commit is contained in:
parent
1bf9a70cbd
commit
8580efa00f
1 changed files with 3 additions and 2 deletions
|
|
@ -1018,11 +1018,12 @@ void World::SetInitialWorldSettings()
|
|||
///- Remove the bones (they should not exist in DB though) and old corpses after a restart
|
||||
CharacterDatabase.PExecute("DELETE FROM corpse WHERE corpse_type = '0' OR time < (UNIX_TIMESTAMP()-'%u')", 3 * DAY);
|
||||
|
||||
///- Load the DBC files
|
||||
///- Load the DBC and DB2 files
|
||||
sLog.outString("Initialize data stores...");
|
||||
LoadDBCStores(m_dataPath);
|
||||
DetectDBCLang();
|
||||
sObjectMgr.SetDBCLocaleIndex(GetDefaultDbcLocale()); // Get once for all the locale index of DBC language (console/broadcasts)
|
||||
LoadDB2Stores(m_dataPath);
|
||||
|
||||
sLog.outString("Loading SpellTemplate...");
|
||||
sObjectMgr.LoadSpellTemplate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue