PDA

Просмотр полной версии : [11136] Add Creature::FillGuidsListFromThreatList for safe guid iteration from threat list.


newsbot
11.02.2011, 21:40
автор: VladimirMangos


<pre>m src/game/Creature.cpp
m src/game/Creature.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11136] Add Creature::FillGuidsListFromThreatList for safe guid iteration from threat list.

Often not 100%-safe iterate by live threat list because called code can modify threat list (reset for example).</pre>




Дальше... (https://github.com/mangos/mangos/commit/66d1972ac5392d7dd6748772f01c611600cb0c39)