From 1be8d5539c52b1ea73840987100202c505189711 Mon Sep 17 00:00:00 2001 From: superp00t Date: Sat, 17 Feb 2024 21:54:35 -0500 Subject: [PATCH] fix(util): fix SFile typos --- src/util/SFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/SFile.cpp b/src/util/SFile.cpp index 51283fe..46ebbb5 100644 --- a/src/util/SFile.cpp +++ b/src/util/SFile.cpp @@ -163,7 +163,7 @@ int32_t SFile::Read(SFile* file, void* buffer, size_t bytestoread, size_t* bytes case SFILE_PLAIN: { auto stream = reinterpret_cast(file->m_handle); - Blizzard::File::Read(m_stream, buffer, bytestoread, bytesread); + Blizzard::File::Read(stream, buffer, bytestoread, bytesread); return 1; } case SFILE_PAQ: @@ -182,7 +182,7 @@ int32_t SFile::Read(SFile* file, void* buffer, size_t bytestoread, size_t* bytes } } default: - STORM_ASSERT(0) + STORM_ASSERT(0); } return 0;