PDA

Просмотр полной версии : Fix selecting nearest target


newsbot
27.09.2016, 23:00
Автор: Phatcat


<pre style='white-space:pre-wrap;width:81ex'>Fix selecting nearest target

This is needed in order to select the first target as we***39;re
starting off with a dist of -1, but we can take advantage of
the variable suitable target starting off as a nullptr.

Sorry for not thinking the logic through before implementing,
this mistake is not on boxa, it***39;s on me.</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/eba35b71b98b9d368c8d37a73a5a8b02256741fd)