aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp7
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 ) );