Показать сообщение отдельно
Старый 08.07.2017, 23:43   #1
newsbot
Модератор
 
Регистрация: 06.03.2010
Сообщений: 988
Сказал(а) спасибо: 0
Поблагодарили 23 раз(а) в 14 сообщениях
newsbot На верном пути
По умолчанию Rewrite logic to account for nonexistant spell target

Автор: killerwife


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.



Подробнее...
newsbot вне форума   Ответить с цитированием