1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 09:06:43 +00:00

Don't play company logo when using --skip-menu

This commit is contained in:
scrawl 2014-03-27 19:59:33 +01:00
parent f2cd37edd0
commit 4f852daf45

View file

@ -362,9 +362,12 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
// Create sound system // Create sound system
mEnvironment.setSoundManager (new MWSound::SoundManager(mUseSound)); mEnvironment.setSoundManager (new MWSound::SoundManager(mUseSound));
std::string logo = mFallbackMap["Movies_Company_Logo"]; if (!mSkipMenu)
if (!logo.empty()) {
window->playVideo(logo, 1); std::string logo = mFallbackMap["Movies_Company_Logo"];
if (!logo.empty())
window->playVideo(logo, 1);
}
// Create the world // Create the world
mEnvironment.setWorld( new MWWorld::World (*mOgre, mFileCollections, mContentFiles, mEnvironment.setWorld( new MWWorld::World (*mOgre, mFileCollections, mContentFiles,