fix incorrect constant value

This commit is contained in:
Chris Danford
2004-04-23 00:27:58 +00:00
parent cca71d1d3f
commit e7983033a4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -418,7 +418,7 @@ bool SMLoader::LoadEdit( CString sEditFilePath, ProfileSlot slot )
return false; 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 ); LOG->Warn( "The song '%s' already has the maximum number of edits allowed for ProfileSlotP%d.", sSongFullTitle.c_str(), slot+1 );
return false; return false;
+2 -2
View File
@@ -23,8 +23,8 @@ class LyricsLoader;
class Profile; class Profile;
class StepsID; class StepsID;
#define MAX_EDITS_PER_SONG_PER_PLAYER 5 #define MAX_EDITS_PER_SONG_PER_PROFILE 5
#define MAX_EDITS_PER_SONG 5*2 #define MAX_EDITS_PER_SONG 5*NUM_PROFILE_SLOTS
extern const int FILE_CACHE_VERSION; extern const int FILE_CACHE_VERSION;