aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-05 17:16:05 -0500
committermegamage <none@none>2009-04-05 17:16:05 -0500
commitd95d81f76589062bd6a1568f0c82d86453300e48 (patch)
tree387603ee63842e9af7d1737dbe09cfecc5a02cd5 /src/game/Object.cpp
parent0fd28a68b71fc86dad3661dadc241b84f8d2809f (diff)
*Update the crash check in object.cpp.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp8
1 files changed, 4 insertions, 4 deletions
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)
{