diff options
author | Spp <spp@jorge.gr> | 2011-08-05 11:57:09 +0200 |
---|---|---|
committer | Spp <spp@jorge.gr> | 2011-08-05 11:57:09 +0200 |
commit | 4ecda557e48a49fde4e148ca937ee4f78f54ed10 (patch) | |
tree | e7735bfa8f69d4e68df70a7107292c0cda26ac0a /src/server/shared/Utilities/Util.cpp | |
parent | d7715fa4b8d18d518c1247bcb77c0ef76e9e4b17 (diff) |
Core/Battleground: Some (minor) code optimizations
- All access to Battleground vars are done using funtions (Remove friendship from Battleground and BattlegroundMgr)
- Move specific 47 mins arena check to battleground code as its generic to all arenas
- Create PreUpdateImpl and PostUpdateImpl functions. Specific battlegrounds will implement those if needed (No more need of call Battleground::Update inside specific BGs)
- Modify Create function to use only one parameter
- Remove EventPlayerCapturedFlag from Battleground class, only one BG implements it and it's not used outside that BG.
Diffstat (limited to 'src/server/shared/Utilities/Util.cpp')
0 files changed, 0 insertions, 0 deletions