SCUMM: HE: Fix typo in palette remapping function

This commit is contained in:
AndywinXp authored and Eugene Sandulenko committed 2024-04-26 23:21:29 +02:00
1 parent 6c5949d8de
commit ee2bf64267
1 file changed
+1 -1
+1 -1
View File
@@ -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])) +