[11425] Remove duplicate SetSheath call for hunter pet.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
rsa 2011-05-03 01:04:33 +04:00 committed by VladimirMangos
parent 30aae7b14e
commit 81bd108174
2 changed files with 1 additions and 2 deletions

View file

@ -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);