mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[10630] Convert Set(Get)ChannelObjectGuid to ObjectGuid way.
Also fix typo in debug output for prev. commit.
This commit is contained in:
parent
31c9efd219
commit
da07caba28
6 changed files with 10 additions and 11 deletions
|
|
@ -15356,14 +15356,13 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder )
|
|||
std::string taxi_nodes = fields[37].GetCppString();
|
||||
|
||||
// clear channel spell data (if saved at channel spell casting)
|
||||
SetChannelObjectGUID(0);
|
||||
SetChannelObjectGuid(ObjectGuid());
|
||||
SetUInt32Value(UNIT_CHANNEL_SPELL,0);
|
||||
|
||||
// clear charm/summon related fields
|
||||
SetCharm(NULL);
|
||||
SetPet(NULL);
|
||||
SetTargetGuid(ObjectGuid());
|
||||
SetChannelObjectGUID(0);
|
||||
SetCharmerGUID(0);
|
||||
SetOwnerGUID(0);
|
||||
SetCreatorGUID(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue