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:
parent
f2cd37edd0
commit
4f852daf45
1 changed files with 6 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue