mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 22:37:05 +00:00
[11221] Fixed typo after recent code move to Spell::EffectTameCreature
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
d3947b2026
commit
c132e54f73
2 changed files with 3 additions and 3 deletions
|
|
@ -5326,10 +5326,10 @@ void Spell::EffectTameCreature(SpellEffectIndex /*eff_idx*/)
|
|||
pet->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
|
||||
pet->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE);
|
||||
|
||||
if (pet->IsPvP())
|
||||
if (plr->IsPvP())
|
||||
pet->SetPvP(true);
|
||||
|
||||
if (pet->IsFFAPvP())
|
||||
if (plr->IsFFAPvP())
|
||||
pet->SetFFAPvP(true);
|
||||
|
||||
// level of hunter pet can't be less owner level at 5 levels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue