diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/object/robotmain.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index f57220d..ff930cd 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -3998,6 +3998,14 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject) { m_displayText->SetDelay(OpFloat(line, "factor", 1.0f)); } + + if (Cmd(line, "CacheAudio") && !resetObject && m_version >= 3) + { + char filename[100]; + OpString(line, "filename", filename); + m_sound->CacheMusic(filename); + continue; + } if (Cmd(line, "AudioChange") && !resetObject && m_version >= 2) { |