[8964] Return in TeleportToHomebind return result from TeleportTo

This commit is contained in:
VladimirMangos 2009-12-10 12:30:26 +03:00
parent ed7d561597
commit b6cd243cef
2 changed files with 2 additions and 2 deletions

View file

@ -2167,7 +2167,7 @@ class MANGOS_DLL_SPEC Player : public Unit
void SetHomebindToCurrentPos(); void SetHomebindToCurrentPos();
void RelocateToHomebind() { SetLocationMapId(m_homebindMapId); Relocate(m_homebindX,m_homebindY,m_homebindZ); } 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 // currently visible objects at player client
typedef std::set<uint64> ClientGUIDs; typedef std::set<uint64> ClientGUIDs;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8963" #define REVISION_NR "8964"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__