diff --git a/src/Utils/Stream.cpp b/src/Utils/Stream.cpp index 85a485a3..0cb6c995 100644 --- a/src/Utils/Stream.cpp +++ b/src/Utils/Stream.cpp @@ -114,7 +114,7 @@ namespace Utils // Only those seem to actually write data. // As I'm not sure though, I'll still write the data // Use IncreaseBlockSize to fill virtual streams - if (stream != Game::XFILE_BLOCK_TEMP && stream != Game::XFILE_BLOCK_VIRTUAL && stream != Game::XFILE_BLOCK_PHYSICAL) + if (stream != Game::XFILE_BLOCK_TEMP && stream != Game::XFILE_BLOCK_VIRTUAL && stream != Game::XFILE_BLOCK_PHYSICAL && stream != Game::XFILE_BLOCK_INVALID) { this->increaseBlockSize(stream, size * count); return this->at();