[Scummvm-git-logs] scummvm master -> 5f0a67a3d661ea3cabaa82964c3e51e5f5836541
dreammaster
noreply at scummvm.org
Mon Jul 4 01:36:13 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:
5f0a67a3d6 CHEWY: Fix placement of combination lock digits
Commit: 5f0a67a3d661ea3cabaa82964c3e51e5f5836541
https://github.com/scummvm/scummvm/commit/5f0a67a3d661ea3cabaa82964c3e51e5f5836541
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2022-07-03T18:35:56-07:00
Commit Message:
CHEWY: Fix placement of combination lock digits
Changed paths:
engines/chewy/detail.cpp
diff --git a/engines/chewy/detail.cpp b/engines/chewy/detail.cpp
index 75b24a071c2..cf16ce2dfbc 100644
--- a/engines/chewy/detail.cpp
+++ b/engines/chewy/detail.cpp
@@ -313,7 +313,7 @@ void Detail::showStaticSpr(int16 nr) {
void Detail::setStaticPos(int16 detNr, int16 x, int16 y, bool hideFl, bool correctionFlag) {
if (correctionFlag) {
- int16 *Cxy = &_rdi.dptr->correction[_rdi.Sinfo[detNr].SprNr];
+ int16 *Cxy = &_rdi.dptr->correction[_rdi.Sinfo[detNr].SprNr * 2];
x += Cxy[0];
y += Cxy[1];
}
More information about the Scummvm-git-logs
mailing list