simplify
This commit is contained in:
@@ -129,8 +129,8 @@ bool ProfileManager::LoadProfileFromMemoryCard( PlayerNumber pn )
|
||||
UnloadProfile( pn );
|
||||
|
||||
// mount slot
|
||||
if( MEMCARDMAN->GetCardState(pn) == MEMORY_CARD_STATE_READY )
|
||||
{
|
||||
if( MEMCARDMAN->GetCardState(pn) != MEMORY_CARD_STATE_READY )
|
||||
return false;
|
||||
|
||||
CString sDir = MEM_CARD_MOUNT_POINT[pn];
|
||||
|
||||
@@ -144,9 +144,6 @@ bool ProfileManager::LoadProfileFromMemoryCard( PlayerNumber pn )
|
||||
return true; // If a card is inserted, we want to use the memory card to save - even if the Profile load failed.
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ProfileManager::LoadFirstAvailableProfile( PlayerNumber pn )
|
||||
{
|
||||
if( LoadProfileFromMemoryCard(pn) )
|
||||
|
||||
Reference in New Issue
Block a user