[11473] Avoid unexpected uint64->ObjectGuid convertion in ObjectGuid::GetString

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Vinolentus 2011-05-12 09:29:27 +04:00 committed by VladimirMangos
parent 2355b0bfde
commit 5c8797743a
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ std::string ObjectGuid::GetString() const
if (IsPlayer()) if (IsPlayer())
{ {
std::string name; std::string name;
if (sObjectMgr.GetPlayerNameByGUID(m_guid, name)) if (sObjectMgr.GetPlayerNameByGUID(*this, name))
str << " " << name; str << " " << name;
} }

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 "11472" #define REVISION_NR "11473"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__