change tween state size assert to debug_assert

This commit is contained in:
Chris Danford
2003-12-31 03:43:45 +00:00
parent f05ce5eaed
commit b72e9d7c89
+1 -1
View File
@@ -337,7 +337,7 @@ void Actor::BeginTweening( float time, TweenType tt )
time = max( time, 0 );
ASSERT( m_TweenStates.size() < 50 ); // there's no reason for the number of tweens to ever go this large
DEBUG_ASSERT( m_TweenStates.size() < 50 ); // there's no reason for the number of tweens to ever go this large
// add a new TweenState to the tail, and initialize it
m_TweenStates.resize( m_TweenStates.size()+1 );