mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
[11425] Remove duplicate SetSheath call for hunter pet.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
30aae7b14e
commit
81bd108174
2 changed files with 1 additions and 2 deletions
|
|
@ -912,7 +912,6 @@ bool Pet::InitStatsForLevel(uint32 petlevel, Unit* owner)
|
|||
SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE);
|
||||
break;
|
||||
case HUNTER_PET:
|
||||
SetSheath(SHEATH_STATE_MELEE);
|
||||
SetByteValue(UNIT_FIELD_BYTES_0, 1, CLASS_WARRIOR);
|
||||
SetByteValue(UNIT_FIELD_BYTES_0, 2, GENDER_NONE);
|
||||
SetSheath(SHEATH_STATE_MELEE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue