PDA

Просмотр полной версии : [11124] Avoid save in DB instance/respawn data for BGs/Arenas.


newsbot
09.02.2011, 18:41
автор: VladimirMangos


<pre>m src/game/BattleGround.cpp
m src/game/InstanceSaveMgr.cpp
m src/game/InstanceSaveMgr.h
m src/game/Map.cpp
m src/game/ObjectMgr.cpp
m src/game/Player.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11124] Avoid save in DB instance/respawn data for BGs/Arenas.

* Fixed bug with not unloaded InstanceSave for BGs/ArenasPartly.
This bug introduced with recent InstanceSave creating for all maps.
* Avoid save respawn data to DB for BGs/Arenas.
No reason save to DB because BGs/Arenas reset at map unload.
* Always create InstanceSave for Map without recheck suggested data integrity.
Map::GetInstanceSave expected always return != NULL value.</pre>




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