newsbot
20.06.2016, 22:54
Автор: cyberium
<pre style='white-space:pre-wrap;width:81ex'>Move AI->JustRespawned() call
JustRespawned() may make the creature enter in combat with enemy.
That implie a call to AI->CallForAssistance().
As JustRespawned was called before the complete initialization of that AI that resulted by a crash.
Moving it right after i_AI pointer assigned will fix the issue.
BTW @xfurry, this will modify one thing, JustRespawned will be called for each AI type wich was not the case before.
Close cmangos/issues#946</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/a337420ba86f0a0a696293f94cb76eeaf33494ea)
<pre style='white-space:pre-wrap;width:81ex'>Move AI->JustRespawned() call
JustRespawned() may make the creature enter in combat with enemy.
That implie a call to AI->CallForAssistance().
As JustRespawned was called before the complete initialization of that AI that resulted by a crash.
Moving it right after i_AI pointer assigned will fix the issue.
BTW @xfurry, this will modify one thing, JustRespawned will be called for each AI type wich was not the case before.
Close cmangos/issues#946</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/a337420ba86f0a0a696293f94cb76eeaf33494ea)