- fixed Blood cutscene playback.

Some merge from upstream must have broken the file name correction.
This commit is contained in:
Christoph Oelckers 2019-12-30 21:36:08 +01:00
parent 2c35f87925
commit 91a4e0a005
1 changed files with 4 additions and 1 deletions

View File

@ -20,12 +20,15 @@
#include "FileStream.h"
#include "filesystem/filesystem.h"
#include <stdlib.h>
#include "cmdlib.h"
namespace SmackerCommon {
bool FileStream::Open(const char *fileName)
{
file = fileSystem.OpenFileReader(fileName, 0);
FString fixedname = fileName;
FixPathSeperator(fixedname);
file = fileSystem.OpenFileReader(fixedname, 0);
if (!file.isOpen())
{
// log error