mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 01:37:04 +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())
|
||||
{
|
||||
std::string name;
|
||||
if (sObjectMgr.GetPlayerNameByGUID(m_guid, name))
|
||||
if (sObjectMgr.GetPlayerNameByGUID(*this, name))
|
||||
str << " " << name;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue