[10612] Revert "[10611] Made some values const"

Reason: It makes no sense to make a local variable const.

This reverts commit 49e3184d69056738701bc15d9b7f982bf11d7bbc.
This commit is contained in:
DasBlub 2010-10-15 22:28:05 +02:00
parent 47d971c7f9
commit fc5dd54f37
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(const uint32 p_time)
void DynamicObject::Update(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;
}
}