*Try to fix the crash caused by invalid map pointer of player.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-06 10:21:10 -05:00
parent d4dca0c8cd
commit 048665a37a
3 changed files with 22 additions and 14 deletions
+1
View File
@@ -900,6 +900,7 @@ class TRINITY_DLL_SPEC Player : public Unit
void RemoveFromWorld();
bool TeleportTo(uint32 mapid, float x, float y, float z, float orientation, uint32 options = 0);
void TeleportOutOfMap(Map *oldMap);
bool TeleportTo(WorldLocation const &loc, uint32 options = 0)
{