mirror of https://github.com/ZDoom/raze-gles.git
- 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
|
@ -341,8 +341,11 @@ DScreenJob* PlayVideo(const char* filename, const AnimSound* ans, const int* fra
|
||||||
filename += 3;
|
filename += 3;
|
||||||
fr = fileSystem.OpenFileReader(filename);
|
fr = fileSystem.OpenFileReader(filename);
|
||||||
}
|
}
|
||||||
Printf("%s: Unable to open video\n", filename);
|
if (!fr.isOpen())
|
||||||
return nothing();
|
{
|
||||||
|
Printf("%s: Unable to open video\n", filename);
|
||||||
|
return nothing();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
char id[20] = {};
|
char id[20] = {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue