[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

@ -495,7 +495,7 @@ void Creature::Update(uint32 update_diff, uint32 diff)
CreatureInfo const *cinfo = GetCreatureInfo();
SelectLevel(cinfo);
SetUInt32Value(UNIT_DYNAMIC_FLAGS, 0);
SetUInt32Value(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_NONE);
if (m_isDeadByDefault)
{
SetDeathState(JUST_DIED);