mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
Merge remote-tracking branch 'upstream/master' into Playerbot
# Conflicts: # modules/CMakeLists.txt
This commit is contained in:
@@ -2124,7 +2124,7 @@ void InstanceMap::CreateInstanceScript(bool load, std::string data, uint32 compl
|
||||
if (instance_data)
|
||||
isOtherAI = true;
|
||||
|
||||
// if Eluna AI was fetched succesfully we should not call CreateInstanceData nor set the unused scriptID
|
||||
// if ALE AI was fetched succesfully we should not call CreateInstanceData nor set the unused scriptID
|
||||
if (!isOtherAI)
|
||||
{
|
||||
InstanceTemplate const* mInstance = sObjectMgr->GetInstanceTemplate(GetId());
|
||||
@@ -2138,7 +2138,7 @@ void InstanceMap::CreateInstanceScript(bool load, std::string data, uint32 compl
|
||||
if (!instance_data)
|
||||
return;
|
||||
|
||||
// use mangos behavior if we are dealing with Eluna AI
|
||||
// use mangos behavior if we are dealing with ALE AI
|
||||
// initialize should then be called only if load is false
|
||||
if (!isOtherAI || !load)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user