YTDB

YTDB (http://ytdb.ru/index.php)
-   CMaNGOS Commits (http://ytdb.ru/forumdisplay.php?f=27)
-   -   Rewrite logic to account for nonexistant spell target (http://ytdb.ru/showthread.php?t=16664)

newsbot 09.07.2017 07:45

Rewrite logic to account for nonexistant spell target
 
Автор: killerwife


<pre style='white-space:pre-wrap;width:81ex'>Rewrite logic to account for nonexistant spell target

GetUnitTarget can be nullptr due to more reasons, for example unupdated
pointers, which is done in spell code execution. Thats why need to fetch
from map yourself and check against it, in case of a killed tempsummon,
it can still be set but nullptr nonetheless.</pre>


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


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

YTDB - MaNGOS DataBase