mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +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
|
|
@ -7774,7 +7774,7 @@ void Spell::EffectTransmitted(SpellEffectIndex eff_idx)
|
|||
{
|
||||
case GAMEOBJECT_TYPE_FISHINGNODE:
|
||||
{
|
||||
m_caster->SetChannelObjectGUID(pGameObj->GetGUID());
|
||||
m_caster->SetChannelObjectGuid(pGameObj->GetObjectGuid());
|
||||
m_caster->AddGameObject(pGameObj); // will removed at spell cancel
|
||||
|
||||
// end time of range when possible catch fish (FISHING_BOBBER_READY_TIME..GetDuration(m_spellInfo))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue