mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
[FIX] Energy/Mana Regeneration By HiZed
--HG-- branch : trunk
This commit is contained in:
@@ -799,6 +799,13 @@ void Object::SetUInt32Value( uint16 index, uint32 value )
|
||||
}
|
||||
}
|
||||
|
||||
void Object::UpdateUInt32Value( uint16 index, uint32 value )
|
||||
{
|
||||
ASSERT( index < m_valuesCount || PrintIndexError( index, true ) );
|
||||
|
||||
m_uint32Values[ index ] = value;
|
||||
}
|
||||
|
||||
void Object::SetUInt64Value( uint16 index, const uint64 &value )
|
||||
{
|
||||
ASSERT( index + 1 < m_valuesCount || PrintIndexError( index, true ) );
|
||||
|
||||
Reference in New Issue
Block a user