PDA

Просмотр полной версии : [10113] Some cleanups in Instance loading code.


newsbot
27.06.2010, 19:55
<pre>m src/game/MapInstanced.cpp
m src/game/MapInstanced.h
m src/game/MapManager.cpp
m src/game/Player.cpp
m src/game/Player.h
m src/shared/revision_nr.h

[10113] Some cleanups in Instance loading code.

* Remove reduncent chekc and args for MapInstanced::CreateInstance(const uint32
mapId, Player * player)
* Rename for avoid name duplication raw InstanceMap creating to
MapInstanced::CreateInstanceMap
* Move lookup code of player/group bounde instance save to
Player::GetBoundInstanceSaveForSelfOrGroup</pre>



Дальше... (http://github.com/mangos/mangos/commit/4a2028db75666fa451e2997b733ea0605e656218)