Fixed bug with showing wrong filename in Level Checker errors after using CacheAudio

dev-ui
krzys-h 2013-06-10 15:44:25 +02:00
parent 18b27d258e
commit e8e220085a
1 changed files with 2 additions and 2 deletions

View File

@ -4082,8 +4082,8 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
if (Cmd(line, "CacheAudio") && !resetObject && m_version >= 2)
{
OpString(line, "filename", filename);
m_sound->CacheMusic(filename);
OpString(line, "filename", name);
m_sound->CacheMusic(name);
continue;
}