mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[6889] Backport some not client version specific changes and fixes from 303 branch.
This commit is contained in:
parent
480a935216
commit
3da9f3f4cc
56 changed files with 1998 additions and 377 deletions
|
|
@ -128,10 +128,9 @@ void Totem::UnSummon()
|
|||
|
||||
void Totem::SetOwner(uint64 guid)
|
||||
{
|
||||
SetUInt64Value(UNIT_FIELD_SUMMONEDBY, guid);
|
||||
SetUInt64Value(UNIT_FIELD_CREATEDBY, guid);
|
||||
Unit *owner = GetOwner();
|
||||
if (owner)
|
||||
SetCreatorGUID(guid);
|
||||
SetOwnerGUID(guid);
|
||||
if (Unit *owner = GetOwner())
|
||||
{
|
||||
setFaction(owner->getFaction());
|
||||
SetLevel(owner->getLevel());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue