From 2434c34e21b6e4c36c27c056874de27b63faae1d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 19 Nov 2003 11:52:20 +0000 Subject: [PATCH] add assert --- stepmania/src/Attack.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/Attack.cpp b/stepmania/src/Attack.cpp index bf9117a231..45a292794a 100644 --- a/stepmania/src/Attack.cpp +++ b/stepmania/src/Attack.cpp @@ -20,4 +20,6 @@ void Attack::GetAttackBeats( const Song *song, PlayerNumber pn, float &fStartBea * screen, so new arrows will scroll on screen with this effect. */ GAMESTATE->GetUndisplayedBeats( pn, fSecsRemaining, fStartBeat, fEndBeat ); } + + ASSERT( fEndBeat >= fStartBeat ); }