chore(Core/modules): necessary core changes for mod-eluna rename (#22962)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
parent
2a78a1788f
commit
bb2f2daacb
9 changed files with 34 additions and 34 deletions
|
|
@ -2118,7 +2118,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());
|
||||
|
|
@ -2132,7 +2132,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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue