diff options
author | megamage <none@none> | 2009-09-02 15:05:18 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-09-02 15:05:18 -0500 |
commit | 85ab4599eeeed2faa7cf6903fd0536f4ddf80b93 (patch) | |
tree | 255e408c1fcc3496abeaa4bbf2d5a38b5de0054e /src/game/Object.cpp | |
parent | 0da2e08a7ea9b801eeabb2b0067771a3142bfc0c (diff) |
[FIX] Energy/Mana Regeneration By HiZed
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 5206a5a4219..6657cd91c27 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -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 ) ); |