[Scummvm-git-logs] scummvm master -> 7c1d98d94caa07a2a1af78101895b1ebbc2f4d5e
dreammaster
noreply at scummvm.org
Thu Jan 11 03:41:47 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:
7c1d98d94c M4: Fix Wilbur spinning after walking ends on 64-bit builds
Commit: 7c1d98d94caa07a2a1af78101895b1ebbc2f4d5e
https://github.com/scummvm/scummvm/commit/7c1d98d94caa07a2a1af78101895b1ebbc2f4d5e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-01-10T19:41:40-08:00
Commit Message:
M4: Fix Wilbur spinning after walking ends on 64-bit builds
Changed paths:
engines/m4/adv_r/adv_walk.cpp
diff --git a/engines/m4/adv_r/adv_walk.cpp b/engines/m4/adv_r/adv_walk.cpp
index 1c52e63d0b0..c4649b8b531 100644
--- a/engines/m4/adv_r/adv_walk.cpp
+++ b/engines/m4/adv_r/adv_walk.cpp
@@ -167,7 +167,7 @@ void ws_walk(machine *myWalker, int32 x, int32 y, GrBuff **, int16 trigger, int3
if (finalFacing > 0 && finalFacing < 13) {
_G(globals)[GLB_TEMP_4] = directions[finalFacing] << 16;
} else {
- _G(globals)[GLB_TEMP_4] = (uint)-1 << 16;
+ _G(globals)[GLB_TEMP_4] = (frac16)-1 << 16;
}
// Set the trigger to be returned when the walk is finished
More information about the Scummvm-git-logs
mailing list