PDA

Просмотр полной версии : [11137] Fixed crash at reset normal dungeon while map loaded.


newsbot
12.02.2011, 06:50
автор: VladimirMangos


<pre>m src/game/Map.cpp
m src/game/MapPersistentStateMgr.cpp
m src/game/MapPersistentStateMgr.h
m src/game/SharedDefines.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11137] Fixed crash at reset normal dungeon while map loaded.

* Map Persistent noe have direct pointer back to map if map loaded.
That let simplify some code and avoid map search.
* Crash showup in result changes in code logic related to reset processing.
* Also fix more old bug with reset normal dungeon with not loaded map.
* Reverse MapPersistentState::HasRespawnTimes and MapPersistentState::HasBounds() results
to expected for function names and update related calls.

Thanks to Schmoozerd for help in research problem.</pre>




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