newsbot
17.03.2010, 02:06
m src/game/BattleGround.cppm src/game/BattleGround.hm src/game/BattleGroundMgr.cppm src/game/MapInstanced.cppm src/game/MapInstanced.hm src/game/MapManager.cppm src/game/MapManager.hm src/shared/revision_nr.h[9597] create battleground map at bg creationwhen a bg gets created it will also get it's map(old behaviour was, that map got's created when first player entered the instance)the reason why battlegroundmaps aren't instantiated with a player object: * the only information from player-class we need is player->GetBattleGround() also we can't use anything else (e.g. playerlevel can be outside of bg-levelrange) -> cause bgs depend pretty much on their maps this caused circualr dependencies between map,bg,player * battlegroundmaps will _always_ be prepared by the bgsystem to set the proper data * there is not much shared in the creational process with dungeonmaps even the functioncall is different since players need to enqueue first for bgs, therefore again the player's way to that instance is only through the bgMgr
Дальше... (http://github.com/mangos/mangos/commit/a488e381bbb57f487264c805baab869bae45fada)
Дальше... (http://github.com/mangos/mangos/commit/a488e381bbb57f487264c805baab869bae45fada)