Playerbot: Fix crash due to floating point exception
Автор: cala
<pre style='white-space:pre-wrap;width:81ex'>Playerbot: Fix crash due to floating point exception In some cases, Unit::GetMaxHealth() can be 0 resulting in a floating point exception. Add a check to prevent that and force the health percentage to 0 as such a player is obviously dead. (based on cmangos/mangos-wotlk@cc0abaef0) Signed-off-by: Xfurry <xfurry.cmangos@outlook.com></pre> Подробнее... |
Текущее время: 07:03. Часовой пояс GMT +4. |
YTDB - MaNGOS DataBase