mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- fixed Blood cutscene playback.
Some merge from upstream must have broken the file name correction.
This commit is contained in:
parent
2c35f87925
commit
91a4e0a005
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue