PDA

Просмотр полной версии : Fix BIH::intersectRay crash


newsbot
03.09.2016, 15:58
Автор: jackpoz


<pre style='white-space:pre-wrap;width:81ex'>Fix BIH::intersectRay crash

Assure that BIHWrap::remove(const T& obj) actually removes every reference of obj from BIHWrap.
Also add sanity checks to MDLCallback () functions to avoid array overruns.

TODO: I think this is more like a workaround, the crash will however be fixed.
We should rethink the whole objects managements but do it worth it?

original patch -> https://github.com/TrinityCore/TrinityCore/commit/dd7391660b9c897fdb4584ab03227bde2478ecee</pre>


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