mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Don't try to play an empty video
This commit is contained in:
parent
cd81ec92db
commit
04e827ecf6
@ -260,7 +260,11 @@ namespace MWWorld
|
||||
}
|
||||
|
||||
if (!bypass)
|
||||
MWBase::Environment::get().getWindowManager()->playVideo(mFallback.getFallbackString("Movies_New_Game"), true);
|
||||
{
|
||||
std::string video = mFallback.getFallbackString("Movies_New_Game");
|
||||
if (!video.empty())
|
||||
MWBase::Environment::get().getWindowManager()->playVideo(video, true);
|
||||
}
|
||||
|
||||
// enable collision
|
||||
//if (!mPhysics->toggleCollisionMode())
|
||||
|
Loading…
x
Reference in New Issue
Block a user