*Wintergrasp: fix the bug that player is send into hall when dead near hall.

*Only revive player in the graveyard which is occupied.
*Do not allow to use titan relic if hall gate is not destroyed.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-31 13:43:54 -05:00
parent 6a50516174
commit a4f6659f7a
6 changed files with 76 additions and 19 deletions
+4 -1
View File
@@ -873,6 +873,9 @@ class ObjectMgr
uint64 GenerateGMTicketId();
bool CheckDB() const;
// for wintergrasp only
GraveYardMap mGraveYardMap;
protected:
// first free id for selected id type
@@ -931,7 +934,7 @@ class ObjectMgr
std::set<uint32> m_DisabledCreatureSpells;
std::set<uint32> m_DisabledPetSpells;
GraveYardMap mGraveYardMap;
// GraveYardMap mGraveYardMap;
GameTeleMap m_GameTeleMap;