mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 22:37:06 +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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11220"
|
||||
#define REVISION_NR "11221"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue