mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9912] Partly revert [9911] :/
This commit is contained in:
parent
112afc260c
commit
6d5d8778fa
4 changed files with 2 additions and 35 deletions
|
|
@ -4584,15 +4584,7 @@ void ObjectMgr::LoadCreatureMovementScripts()
|
|||
{
|
||||
LoadScripts(sCreatureMovementScripts, "creature_movement_scripts");
|
||||
|
||||
std::set<uint32> ids;
|
||||
|
||||
for(ScriptMapMap::const_iterator itr = sCreatureMovementScripts.begin(); itr != sEventScripts.end(); ++itr)
|
||||
ids.insert(itr->first);
|
||||
|
||||
sWaypointMgr.CheckScriptExistance(ids);
|
||||
|
||||
for(std::set<uint32>::const_iterator itr = ids.begin(); itr != ids.end(); ++itr)
|
||||
sLog.outErrorDb("Table `creature_movement_scripts` has script (Id: %u) not referring to any waypoint.", *itr);
|
||||
// checks are done in WaypointManager::Load
|
||||
}
|
||||
|
||||
void ObjectMgr::LoadPageTexts()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue