mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04: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)
|
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
|
// enable collision
|
||||||
//if (!mPhysics->toggleCollisionMode())
|
//if (!mPhysics->toggleCollisionMode())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user