mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
[10542] Fixed ObjectGuid::IsUnit
Also some better string format for pet guid case. Thanks to zergtmn for find problem.
This commit is contained in:
parent
3bc4f053cc
commit
4598224659
3 changed files with 4 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ std::string ObjectGuid::GetString() const
|
|||
|
||||
str << " (";
|
||||
if (HasEntry())
|
||||
str << "Entry: " << GetEntry() << " ";
|
||||
str << (IsPet() ? "Petnumber: " : "Entry: ") << GetEntry() << " ";
|
||||
str << "Guid: " << GetCounter() << ")";
|
||||
return str.str();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue