diff --git a/src/tier0/binstream.cpp b/src/tier0/binstream.cpp index 6ee26540..40bc6514 100644 --- a/src/tier0/binstream.cpp +++ b/src/tier0/binstream.cpp @@ -54,7 +54,7 @@ bool CIOStream::Open(const char* const filePath, const Mode_e mode) m_stream.close(); } - m_stream.open(filePath, GetInternalStreamMode(mode)); + m_stream.open(filePath, m_flags); if (!m_stream.is_open() || !m_stream.good()) {