Remove unnecessary member. Just set iKeysoundIndex to -1 if it isn't valid.
This commit is contained in:
@@ -311,10 +311,7 @@ bool BMSLoader::LoadFromBMSFile( const RString &sPath, const NameToData_t &mapNa
|
||||
TapNote tn = TAP_ORIGINAL_TAP;
|
||||
map<RString,int>::const_iterator it = m_mapWavIdToKeysoundIndex.find(sNoteId);
|
||||
if( it != m_mapWavIdToKeysoundIndex.end() )
|
||||
{
|
||||
tn.bKeysound = true;
|
||||
tn.iKeysoundIndex = it->second;
|
||||
}
|
||||
vTapNotes.push_back( tn );
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user