From 031c9397f30365b8e387171492a74af686ab0e83 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 30 May 2006 17:41:26 +0000 Subject: [PATCH] fix record with no selection in EditMode_Full; FLT_MAX is greater than the maximum NoteRow and comes out negative --- stepmania/src/ScreenEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index 07a61224aa..fb8ae5cf1c 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -3472,7 +3472,7 @@ float ScreenEdit::GetMaximumBeatForNewNote() const return fEndBeat; } case EditMode_Full: - return FLT_MAX; + return NoteRowToBeat(MAX_NOTE_ROW); default: ASSERT(0); return 0; }