mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[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:
parent
47d971c7f9
commit
fc5dd54f37
59 changed files with 64 additions and 64 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue