PDA

Просмотр полной версии : [10922] Revert "[8722] Fixed possible creash."


newsbot
27.12.2010, 05:16
автор: VladimirMangos


<pre>m src/game/Unit.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10922] Revert "[8722] Fixed possible creash."

This reverts commit 8dd3e4b31a31bb6dfc4d9fb51b1b7e67bad4ca16.

This is impossible crash case. Creature object can't be created without creatureInfo != NULL
So crash source can be only result wrong calling ClearInCombat() for deleted or NULL creature.</pre>




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