[Scummvm-git-logs] scummvm branch-2-6 -> aa8c90f0228f045e33237f25666acbc2782a83a6
dreammaster
noreply at scummvm.org
Mon Jul 4 01:35:48 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:
aa8c90f022 CHEWY: Fix placement of combination lock digits
Commit: aa8c90f0228f045e33237f25666acbc2782a83a6
https://github.com/scummvm/scummvm/commit/aa8c90f0228f045e33237f25666acbc2782a83a6
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2022-07-03T18:35:42-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