mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fix screenjob.cpp PlayVideo()
returning after stripping drive letter without checking whether it was able to re-open the file thereafter successfully.
Fixes #128.
This commit is contained in:
parent
d3df4e580c
commit
4c74c172e3
1 changed files with 5 additions and 2 deletions
|
@ -341,9 +341,12 @@ DScreenJob* PlayVideo(const char* filename, const AnimSound* ans, const int* fra
|
|||
filename += 3;
|
||||
fr = fileSystem.OpenFileReader(filename);
|
||||
}
|
||||
if (!fr.isOpen())
|
||||
{
|
||||
Printf("%s: Unable to open video\n", filename);
|
||||
return nothing();
|
||||
}
|
||||
}
|
||||
char id[20] = {};
|
||||
|
||||
fr.Read(&id, 20);
|
||||
|
|
Loading…
Reference in a new issue