fix(util): fix SFile typos

This commit is contained in:
superp00t 2024-02-17 21:54:35 -05:00
parent f135e8746b
commit 1be8d5539c

View File

@ -163,7 +163,7 @@ int32_t SFile::Read(SFile* file, void* buffer, size_t bytestoread, size_t* bytes
case SFILE_PLAIN: case SFILE_PLAIN:
{ {
auto stream = reinterpret_cast<Blizzard::File::StreamRecord*>(file->m_handle); auto stream = reinterpret_cast<Blizzard::File::StreamRecord*>(file->m_handle);
Blizzard::File::Read(m_stream, buffer, bytestoread, bytesread); Blizzard::File::Read(stream, buffer, bytestoread, bytesread);
return 1; return 1;
} }
case SFILE_PAQ: case SFILE_PAQ:
@ -182,7 +182,7 @@ int32_t SFile::Read(SFile* file, void* buffer, size_t bytestoread, size_t* bytes
} }
} }
default: default:
STORM_ASSERT(0) STORM_ASSERT(0);
} }
return 0; return 0;