[9912] Partly revert [9911] :/

This commit is contained in:
VladimirMangos 2010-05-16 09:51:14 +04:00
parent 112afc260c
commit 6d5d8778fa
4 changed files with 2 additions and 35 deletions

View file

@ -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()