[Scummvm-git-logs] scummvm master -> f15e1170e737634bd759e0c45110d4ffbc2e544b

sev- noreply at scummvm.org
Sat Jun 11 11:49:57 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f15e1170e7 DIRECTOR: Fix VWTL loading


Commit: f15e1170e737634bd759e0c45110d4ffbc2e544b
    https://github.com/scummvm/scummvm/commit/f15e1170e737634bd759e0c45110d4ffbc2e544b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-06-11T13:49:46+02:00

Commit Message:
DIRECTOR: Fix VWTL loading

Changed paths:
    engines/director/cast.cpp


diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index d4cd7aea24b..2edfa977f70 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -1374,9 +1374,9 @@ void Cast::loadVWTL(Common::SeekableReadStreamEndian &stream) {
 		stream.readUint32(); // unused
 
 		if (_version >= kFileVer500)
-			castLibId = stream.readUint16LE();
+			castLibId = stream.readUint16();
 
-		memberId = stream.readUint16LE();
+		memberId = stream.readUint16();
 
 		r = Movie::readRect(stream);
 




More information about the Scummvm-git-logs mailing list