Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   CMaNGOS Commits (http://mangos.ytdb.ru/forumdisplay.php?f=38)
-   -   Rewrite logic to account for nonexistant spell target (http://mangos.ytdb.ru/showthread.php?t=10139)

newsbot 08.07.2017 23:43

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:47. Часовой пояс GMT +3.

ru-mangos.ru - Русское сообщество MaNGOS