Do nothing if video is played with no video loaded rather than crashing

Originally committed to SVN as r5802.
This commit is contained in:
Thomas Goyne 2011-10-29 04:30:52 +00:00
parent 402ba0e89d
commit 31a3b9aae0
1 changed files with 2 additions and 0 deletions

View File

@ -362,6 +362,8 @@ void VideoContext::Play() {
return;
}
if (!IsLoaded()) return;
// Set variables
startFrame = frame_n;
endFrame = -1;