*Improvements in map managing.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-08-01 00:20:32 +02:00
1 parent 0db1fd6c26
commit 1d96091d2a
24 files changed
+276 -305

No files matched your search

+2
View File
@@ -1474,6 +1474,8 @@ BattleGround * BattleGroundMgr::GetBattleGroundThroughClientInstance(uint32 inst
BattleGround * BattleGroundMgr::GetBattleGround(uint32 InstanceID, BattleGroundTypeId bgTypeId)
{
if (!InstanceID)
return NULL;
//search if needed
BattleGroundSet::iterator itr;
if (bgTypeId == BATTLEGROUND_TYPE_NONE)