fix incorrect constant value
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user