diff options
author | megamage <none@none> | 2009-04-03 16:28:15 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-04-03 16:28:15 -0600 |
commit | 34f9778296959a25d192313a333f21f8e2865449 (patch) | |
tree | 19abb9f119b11940c4765fa36f8393c3cf203f74 /src/game/Object.cpp | |
parent | c48ea87a035127ede390e6c461ecbd213bf3b7e0 (diff) |
*Add some checks during object deconstruction.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index c8fb721a224..b19a80fc7bf 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -94,6 +94,8 @@ Object::~Object( ) assert(false); } + assert(!m_objectUpdated); + //DEBUG_LOG("Object desctr 1 check (%p)",(void*)this); delete [] m_uint32Values; delete [] m_uint32Values_mirror; |