mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11408] Do not ignore SHEATH_STATE_UNARMED when 0 defined in database *_addon
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
4bdc02509a
commit
d68e8368f7
2 changed files with 2 additions and 3 deletions
|
|
@ -1956,8 +1956,7 @@ bool Creature::LoadCreatureAddon(bool reload)
|
|||
// 1 UnitPVPStateFlags Set at Creature::UpdateEntry (SetPvp())
|
||||
// 2 UnitRename Pet only, so always 0 for default creature
|
||||
// 3 ShapeshiftForm Must be determined/set by shapeshift spell/aura
|
||||
if (cainfo->sheath_state != 0)
|
||||
SetByteValue(UNIT_FIELD_BYTES_2, 0, cainfo->sheath_state);
|
||||
SetByteValue(UNIT_FIELD_BYTES_2, 0, cainfo->sheath_state);
|
||||
|
||||
if (cainfo->pvp_state != 0)
|
||||
SetByteValue(UNIT_FIELD_BYTES_2, 1, cainfo->pvp_state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue