mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[11473] Avoid unexpected uint64->ObjectGuid convertion in ObjectGuid::GetString
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
2355b0bfde
commit
5c8797743a
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue