[11357] Replace some 0-values with UNIT_DYNFLAG_NONE

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-04-15 11:07:27 +02:00
parent 520f420aed
commit 2c09c11091
5 changed files with 8 additions and 7 deletions

View file

@ -503,8 +503,8 @@ void Pet::SetDeathState(DeathState s) // overwrite virtual
else
{
// pet corpse non lootable and non skinnable
SetUInt32Value( UNIT_DYNAMIC_FLAGS, 0x00 );
RemoveFlag (UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE);
SetUInt32Value(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_NONE);
RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE);
//lose happiness when died and not in BG/Arena
MapEntry const* mapEntry = sMapStore.LookupEntry(GetMapId());