[Scummvm-git-logs] scummvm master -> d1568d0f271909d7fbf9180920a977c3c91f00a3
dreammaster
noreply at scummvm.org
Fri Jan 12 05:59:56 UTC 2024
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:
d1568d0f27 M4: Fix Wilbur facing wrong direction in 64-bit builds
Commit: d1568d0f271909d7fbf9180920a977c3c91f00a3
https://github.com/scummvm/scummvm/commit/d1568d0f271909d7fbf9180920a977c3c91f00a3
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-01-11T21:59:50-08:00
Commit Message:
M4: Fix Wilbur facing wrong direction in 64-bit builds
Changed paths:
engines/m4/wscript/ws_cruncher.cpp
diff --git a/engines/m4/wscript/ws_cruncher.cpp b/engines/m4/wscript/ws_cruncher.cpp
index 10d48ae0de9..4d1ed2f56f2 100644
--- a/engines/m4/wscript/ws_cruncher.cpp
+++ b/engines/m4/wscript/ws_cruncher.cpp
@@ -446,7 +446,7 @@ static bool ExtractArg(Anim8 *myAnim8, int32 myFormat, int32 myData, frac16 **ar
dataArray = (uint32 *)((intptr)*(myAnim8->dataHandle) + myAnim8->dataOffset);
// Copy the data field into dataArg1, and set myArg1 to point to this location
- *argValue = FROM_LE_32(dataArray[myIndex]);
+ *argValue = (int32)FROM_LE_32(dataArray[myIndex]);
*argPtr = argValue;
break;
}
More information about the Scummvm-git-logs
mailing list