From da6eb251bfd64901f5869f8b9b833f6968f7a7a3 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 26 Mar 2005 18:50:20 +0000 Subject: [PATCH] don't calculate on edits in Song::ReCalculateRadarValuesAndLastBeat() --- stepmania/src/Song.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 83481e9b15..321b1d8908 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -790,6 +790,11 @@ void Song::ReCalculateRadarValuesAndLastBeat() if( pSteps->IsAutogen() ) continue; + /* Don't calculate with edits. Otherwise, edits installed on the machine could + * extend the length of the song. */ + if( pSteps->IsAnEdit() ) + continue; + // // calculate radar values