From 0f67b74a53c36bfae9d14b55ba044ab7a959956b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szil=C3=A1rd=20Bir=C3=B3?= Date: Wed, 23 Oct 2019 13:20:54 +0200 Subject: [PATCH] SEQFRAME big endian fix --- source/blood/src/resource.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blood/src/resource.cpp b/source/blood/src/resource.cpp index 15d920f1a..cf57af184 100644 --- a/source/blood/src/resource.cpp +++ b/source/blood/src/resource.cpp @@ -775,7 +775,9 @@ void Resource::Read(DICTNODE *n, void *p) swapFrame.at6_3 = bitReader.readBit(); swapFrame.at6_4 = bitReader.readBit(); swapFrame.tile2 = bitReader.readUnsigned(4); - swapFrame.pad = bitReader.readUnsigned(7); + swapFrame.soundRange = bitReader.readUnsigned(4); + swapFrame.surfaceSound = bitReader.readBit(); + swapFrame.reserved = bitReader.readUnsigned(2); *pFrame = swapFrame; } }