Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9597] create battleground map at bg creation
when 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
- Loading branch information
balrok
committed
Mar 16, 2010
1 parent
8caaf63
commit a488e38
Showing
8 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "9596" | ||
#define REVISION_NR "9597" | ||
#endif // __REVISION_NR_H__ |