diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index d5dc41d096..0a98ca47bd 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -35,7 +35,8 @@ Actor* LoadFromActorFile( CString sIniPath, CString sLayer ) // TODO: Check for recursive loading IniFile ini; ini.SetPath( sIniPath ); - ini.ReadFile(); + if( !ini.ReadFile() ) + RageException::Throw( "%s", ini.error.c_str() ); if( !ini.GetKey(sLayer) ) RageException::Throw( "The file '%s' doesn't have layer '%s'.", sIniPath.c_str(), sLayer.c_str() );