Don't create a loader.

This commit is contained in:
Steve Checkoway
2007-02-14 10:09:05 +00:00
parent 6c8ddaec73
commit 1b2c9da350
5 changed files with 7 additions and 11 deletions
+1 -2
View File
@@ -230,8 +230,7 @@ void Steps::Decompress() const
{
/* We have data on disk and not in memory. Load it. */
Song s;
SMLoader ld;
if( !ld.LoadFromSMFile( m_sFilename, s, true ) )
if( !SMLoader::LoadFromSMFile(m_sFilename, s, true) )
{
LOG->Warn( "Couldn't load \"%s\"", m_sFilename.c_str() );
return;