[FIX] Energy/Mana Regeneration By HiZed

--HG--
branch : trunk
This commit is contained in:
megamage
2009-09-02 15:05:18 -05:00
parent 0da2e08a7e
commit 85ab4599ee
5 changed files with 51 additions and 35 deletions

View File

@@ -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 ) );