From 6b2aed909e56c258b0a5edace74fa5a3380c9470 Mon Sep 17 00:00:00 2001 From: morkt Date: Thu, 19 Jan 2017 23:39:15 +0400 Subject: [PATCH] (ArcStream.ReadInt24): fixed. --- GameRes/ArcView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameRes/ArcView.cs b/GameRes/ArcView.cs index 2b7ae3f0..e40291ea 100644 --- a/GameRes/ArcView.cs +++ b/GameRes/ArcView.cs @@ -616,7 +616,7 @@ namespace GameRes if (m_position + 3 > m_size) throw new EndOfStreamException(); int v = m_view.ReadUInt16 (m_start+m_position); - v |= m_view.ReadByte (m_start+m_position+2); + v |= m_view.ReadByte (m_start+m_position+2) << 16; m_position += 3; return v; }