[10611] Made some values const

Signed-off-by: DasBlub <dasblub@gmail.com>
This commit is contained in:
Reve 2010-10-15 19:46:53 +02:00 committed by DasBlub
parent 61102e3b16
commit 47d971c7f9
59 changed files with 64 additions and 64 deletions

View file

@ -106,7 +106,7 @@ Unit* DynamicObject::GetCaster() const
return ObjectAccessor::GetUnit(*this, GetCasterGUID());
}
void DynamicObject::Update(uint32 p_time)
void DynamicObject::Update(const uint32 p_time)
{
// caster can be not in world at time dynamic object update, but dynamic object not yet deleted in Unit destructor
Unit* caster = GetCaster();
@ -168,7 +168,7 @@ void DynamicObject::Delay(int32 delaytime)
break;
}
}
if (foundAura)
{
++iter;
@ -210,4 +210,4 @@ bool DynamicObject::IsFriendlyTo( Unit const* unit ) const
return owner->IsFriendlyTo(unit);
else
return true;
}
}