YTDB

YTDB (http://ytdb.ru/index.php)
-   CMaNGOS Commits (http://ytdb.ru/forumdisplay.php?f=27)
-   -   Move AI->JustRespawned() call (http://ytdb.ru/showthread.php?t=15878)

newsbot 20.06.2016 22:54

Move AI->JustRespawned() call
 
Автор: 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>


Подробнее...


Текущее время: 10:32. Часовой пояс GMT +4.

YTDB - MaNGOS DataBase