add an accessor

This commit is contained in:
Glenn Maynard
2003-01-14 22:10:04 +00:00
parent 70e386192b
commit e4f9a339af
5 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ bool KSFLoader::LoadFromKSFFile( const CString &sPath, Notes &out )
int iTickCount = -1; // this is the value we read for TICKCOUNT
CString iStep; // this is the value we read for STEP
for( unsigned i=0; i<msd.m_iNumValues; i++ )
for( unsigned i=0; i<msd.GetNumValues(); i++ )
{
CString* sParams = msd.m_sParams[i];
CString sValueName = sParams[0];
@@ -190,7 +190,7 @@ bool KSFLoader::LoadFromDir( CString sDir, Song &out )
if( !bResult )
RageException::Throw( "Error opening file '%s'.", sPath.GetString() );
for( i=0; i < msd.m_iNumValues; i++ )
for( i=0; i < msd.GetNumValues(); i++ )
{
CString* sParams = msd.m_sParams[i];
CString sValueName = sParams[0];