mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
RTech: use define for invalid async file handle
This commit is contained in:
parent
7a03238fc9
commit
f16bf580f4
@ -72,7 +72,7 @@ void Pak_OpenAssociatedStreamingFiles(PakLoadedInfo_t* const loadedInfo, PakLoad
|
||||
|
||||
// make sure we successfully loaded mandatory streaming files, as we
|
||||
// would otherwise error in the game itself
|
||||
if (set == STREAMING_SET_MANDATORY && fileNumber == -1)
|
||||
if (set == STREAMING_SET_MANDATORY && fileNumber == FS_ASYNC_FILE_INVALID)
|
||||
Error(eDLL_T::RTECH, EXIT_FAILURE, "Error opening streaming file '%s'\n", streamingFilePath);
|
||||
|
||||
streamInfo.streamFileNumber[numStreamFiles++] = fileNumber;
|
||||
|
Loading…
x
Reference in New Issue
Block a user