mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
gm command for reload of eventindex
also i merged both loading functions together (union-select gameobject and creature) those loading functions were pretty similar
This commit is contained in:
parent
2adf6245c2
commit
0ce6395857
7 changed files with 56 additions and 71 deletions
|
|
@ -1371,11 +1371,8 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString( "Loading BattleMasters..." );
|
||||
sBattleGroundMgr.LoadBattleMastersEntry();
|
||||
|
||||
sLog.outString( "Loading Creature BattleGround event indexes..." );
|
||||
sBattleGroundMgr.LoadCreatureBattleEventIndexes();
|
||||
|
||||
sLog.outString( "Loading GameObject BattleGround event indexes..." );
|
||||
sBattleGroundMgr.LoadGameObjectBattleEventIndexes();
|
||||
sLog.outString( "Loading BattleGround event indexes..." );
|
||||
sBattleGroundMgr.LoadBattleEventIndexes();
|
||||
|
||||
sLog.outString( "Loading GameTeleports..." );
|
||||
objmgr.LoadGameTele();
|
||||
|
|
@ -2178,4 +2175,4 @@ void World::LoadDBVersion()
|
|||
|
||||
if(m_CreatureEventAIVersion.empty())
|
||||
m_CreatureEventAIVersion = "Unknown creature EventAI.";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue