mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +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);
|
SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE);
|
||||||
break;
|
break;
|
||||||
case HUNTER_PET:
|
case HUNTER_PET:
|
||||||
SetSheath(SHEATH_STATE_MELEE);
|
|
||||||
SetByteValue(UNIT_FIELD_BYTES_0, 1, CLASS_WARRIOR);
|
SetByteValue(UNIT_FIELD_BYTES_0, 1, CLASS_WARRIOR);
|
||||||
SetByteValue(UNIT_FIELD_BYTES_0, 2, GENDER_NONE);
|
SetByteValue(UNIT_FIELD_BYTES_0, 2, GENDER_NONE);
|
||||||
SetSheath(SHEATH_STATE_MELEE);
|
SetSheath(SHEATH_STATE_MELEE);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11424"
|
#define REVISION_NR "11425"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue