mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SCUMM: HE: Fix typo in palette remapping function
This commit is contained in:
1 parent
6c5949d8de
commit
ee2bf64267
1 file changed
+1
-1
@@ -42,7 +42,7 @@ void ScummEngine_v71he::buildRemapTable(byte *remapTablePtr, const byte *palDPtr
|
||||
|
||||
for (int inner = 10; inner < 246; inner++) {
|
||||
const byte *clutSrcEntry = &palSPtr[outer * 3];
|
||||
const byte *clutDstEntry = &palSPtr[inner * 3];
|
||||
const byte *clutDstEntry = &palDPtr[inner * 3];
|
||||
|
||||
distance = (
|
||||
(int32)((clutSrcEntry[0] - clutDstEntry[0]) * (clutSrcEntry[0] - clutDstEntry[0])) +
|
||||
|
||||
Reference in new issue
Block a user