From b6cd243cefa6870da2df7887f68c91d8695fc5f6 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Thu, 10 Dec 2009 12:30:26 +0300 Subject: [PATCH] [8964] Return in TeleportToHomebind return result from TeleportTo --- src/game/Player.h | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Player.h b/src/game/Player.h index 4aa32bcb5..e1b4a271e 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -2167,7 +2167,7 @@ class MANGOS_DLL_SPEC Player : public Unit void SetHomebindToCurrentPos(); void RelocateToHomebind() { SetLocationMapId(m_homebindMapId); Relocate(m_homebindX,m_homebindY,m_homebindZ); } - void TeleportToHomebind(uint32 options = 0) { TeleportTo(m_homebindMapId, m_homebindX, m_homebindY, m_homebindZ, GetOrientation(),options); } + bool TeleportToHomebind(uint32 options = 0) { return TeleportTo(m_homebindMapId, m_homebindX, m_homebindY, m_homebindZ, GetOrientation(),options); } // currently visible objects at player client typedef std::set ClientGUIDs; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 4561b4e59..355bad342 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8963" + #define REVISION_NR "8964" #endif // __REVISION_NR_H__