mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10444] Fixed scripted AI init for TemporarySummon/Totem summon code
Call AIM_Initialize before adding to map instead after calling. This make this call order similar other cases. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e621af3b97
commit
6e6936c321
3 changed files with 3 additions and 5 deletions
|
|
@ -156,9 +156,8 @@ void TemporarySummon::Summon(TempSummonType type, uint32 lifetime)
|
|||
m_timer = lifetime;
|
||||
m_lifetime = lifetime;
|
||||
|
||||
GetMap()->Add((Creature*)this);
|
||||
|
||||
AIM_Initialize();
|
||||
GetMap()->Add((Creature*)this);
|
||||
}
|
||||
|
||||
void TemporarySummon::UnSummon()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue