newsbot
24.08.2016, 18:58
Автор: Phatcat
<pre style='white-space:pre-wrap;width:81ex'>Unit logic
- UpdateMeleeAttackingState : I guess I should study up some more on
logical gates myself. thanks for pointing @VladimirMangos - return
swingerror enstead of returning 0. if we wanted
to return 0 we sould just return false.... ehh... why are we returning
0? why is this functio not just void?
- Attack : Logical error: If we are doing a mele attack and we are
already attacking the unit, we should not return a false, but rather a
true.</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/a9f0e0f9457eefcad87d86780954958feeffd119)
<pre style='white-space:pre-wrap;width:81ex'>Unit logic
- UpdateMeleeAttackingState : I guess I should study up some more on
logical gates myself. thanks for pointing @VladimirMangos - return
swingerror enstead of returning 0. if we wanted
to return 0 we sould just return false.... ehh... why are we returning
0? why is this functio not just void?
- Attack : Logical error: If we are doing a mele attack and we are
already attacking the unit, we should not return a false, but rather a
true.</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/a9f0e0f9457eefcad87d86780954958feeffd119)