diff --git a/stepmania/src/NotesLoaderSM.cpp b/stepmania/src/NotesLoaderSM.cpp index d037a1f4b3..87f7458ddd 100644 --- a/stepmania/src/NotesLoaderSM.cpp +++ b/stepmania/src/NotesLoaderSM.cpp @@ -418,7 +418,7 @@ bool SMLoader::LoadEdit( CString sEditFilePath, ProfileSlot slot ) return false; } - if( pSong->GetNumStepsLoadedFromProfile(slot) >= MAX_EDITS_PER_SONG_PER_PLAYER ) + if( pSong->GetNumStepsLoadedFromProfile(slot) >= MAX_EDITS_PER_SONG_PER_PROFILE ) { LOG->Warn( "The song '%s' already has the maximum number of edits allowed for ProfileSlotP%d.", sSongFullTitle.c_str(), slot+1 ); return false; diff --git a/stepmania/src/song.h b/stepmania/src/song.h index 40c9c9ba44..69a5169c9c 100644 --- a/stepmania/src/song.h +++ b/stepmania/src/song.h @@ -23,8 +23,8 @@ class LyricsLoader; class Profile; class StepsID; -#define MAX_EDITS_PER_SONG_PER_PLAYER 5 -#define MAX_EDITS_PER_SONG 5*2 +#define MAX_EDITS_PER_SONG_PER_PROFILE 5 +#define MAX_EDITS_PER_SONG 5*NUM_PROFILE_SLOTS extern const int FILE_CACHE_VERSION;