mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +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
|
||||
mEnvironment.setSoundManager (new MWSound::SoundManager(mUseSound));
|
||||
|
||||
if (!mSkipMenu)
|
||||
{
|
||||
std::string logo = mFallbackMap["Movies_Company_Logo"];
|
||||
if (!logo.empty())
|
||||
window->playVideo(logo, 1);
|
||||
}
|
||||
|
||||
// Create the world
|
||||
mEnvironment.setWorld( new MWWorld::World (*mOgre, mFileCollections, mContentFiles,
|
||||
|
|
Loading…
Reference in a new issue