Fix issue in Creature::UpdateEntry and CMSG_GOSSIP_SELECT_OPTION
Port From (https://github.com/TrinityCore/TrinityCore/commit/80d920dab5d8688fda19b612ec58bcb1a576cbc0)
This commit is contained in:
@@ -414,9 +414,13 @@ namespace Game.Entities
|
|||||||
|
|
||||||
UpdateMovementFlags();
|
UpdateMovementFlags();
|
||||||
LoadCreaturesAddon();
|
LoadCreaturesAddon();
|
||||||
LoadTemplateImmunities();
|
|
||||||
|
|
||||||
|
LoadTemplateImmunities();
|
||||||
GetThreatManager().EvaluateSuppressed();
|
GetThreatManager().EvaluateSuppressed();
|
||||||
|
|
||||||
|
//We must update last scriptId or it looks like we reloaded a script, breaking some things such as gossip temporarily
|
||||||
|
LastUsedScriptID = GetScriptId();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user