From d95d81f76589062bd6a1568f0c82d86453300e48 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 5 Apr 2009 17:16:05 -0500 Subject: *Update the crash check in object.cpp. --HG-- branch : trunk --- src/game/Object.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game/Object.cpp') diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 170c49fe78f..6ba8a112ea7 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -753,8 +753,8 @@ void Object::ClearUpdateMask(bool remove) return; } - m_uint32Values[0]; - m_uint32Values_mirror[0]; + uint32 temp = m_uint32Values[0]; + temp = m_uint32Values_mirror[0]; for( uint16 index = 0; index < m_valuesCount; index ++ ) { @@ -810,8 +810,8 @@ void Object::_SetUpdateBits(UpdateMask *updateMask, Player* /*target*/) const return; } - m_uint32Values[0]; - m_uint32Values_mirror[0]; + uint32 temp = m_uint32Values[0]; + temp = m_uint32Values_mirror[0]; for(uint16 index = 0; index < m_valuesCount; ++index) { -- cgit v1.2.3