Core/Player: Teleport the player to a default graveyard (Crossroads/Wesfall) when a zone has no info about graveyards

This commit is contained in:
Nay
2011-08-06 17:23:33 +01:00
parent a39ea8f3e5
commit 548f8ba095
2 changed files with 20 additions and 2 deletions
+1
View File
@@ -704,6 +704,7 @@ class ObjectMgr
GossipText const* GetGossipText(uint32 Text_ID) const;
WorldSafeLocsEntry const *GetDefaultGraveYard(uint32 team);
WorldSafeLocsEntry const *GetClosestGraveYard(float x, float y, float z, uint32 MapId, uint32 team);
bool AddGraveYardLink(uint32 id, uint32 zone, uint32 team, bool inDB = true);
void RemoveGraveYardLink(uint32 id, uint32 zone, uint32 team, bool inDB = false);