mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10391] Restore build at Unix after Unit::GetUnit drop.
This commit is contained in:
parent
9c02f476ec
commit
9d76725a0e
4 changed files with 12 additions and 6 deletions
|
|
@ -5710,6 +5710,11 @@ Pet* Unit::GetPet() const
|
|||
return NULL;
|
||||
}
|
||||
|
||||
Pet* Unit::_GetPet(ObjectGuid guid) const
|
||||
{
|
||||
return GetMap()->GetPet(guid);
|
||||
}
|
||||
|
||||
Unit* Unit::GetCharm() const
|
||||
{
|
||||
if (uint64 charm_guid = GetCharmGUID())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue