mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
minor drawShape() bug fix for Malcolm's shadow
svn-id: r31728
This commit is contained in:
parent
7fb4a87c24
commit
13ef28215d
@ -1181,7 +1181,7 @@ void Screen::drawShape(uint8 pageNum, const uint8 *shapeData, int x, int y, int
|
||||
&Screen::drawShapePlotType0, // used by Kyra 1 + 2
|
||||
&Screen::drawShapePlotType1, // used by Kyra 3
|
||||
0,
|
||||
&Screen::drawShapePlotType3_7, // used by Kyra 1 (invisibility)
|
||||
&Screen::drawShapePlotType3_7, // used by Kyra 3 (shadow)
|
||||
&Screen::drawShapePlotType4, // used by Kyra 1, 2 + 3
|
||||
&Screen::drawShapePlotType5, // used by Kyra 1
|
||||
&Screen::drawShapePlotType6, // used by Kyra 1 (invisibility)
|
||||
@ -1189,7 +1189,7 @@ void Screen::drawShape(uint8 pageNum, const uint8 *shapeData, int x, int y, int
|
||||
&Screen::drawShapePlotType8, // used by Kyra 2
|
||||
&Screen::drawShapePlotType9, // used by Kyra 1 + 3
|
||||
0,
|
||||
&Screen::drawShapePlotType11_15, // used by Kyra 1 /invisibility)
|
||||
&Screen::drawShapePlotType11_15, // used by Kyra 1 (invisibility) + Kyra 3 (shadow)
|
||||
&Screen::drawShapePlotType12, // used by Kyra 2
|
||||
&Screen::drawShapePlotType13, // used by Kyra 1
|
||||
&Screen::drawShapePlotType14, // used by Kyra 1 (invisibility)
|
||||
@ -1635,7 +1635,7 @@ void Screen::drawShapePlotType1(uint8 *dst, uint8 cmd) {
|
||||
}
|
||||
|
||||
void Screen::drawShapePlotType3_7(uint8 *dst, uint8 cmd) {
|
||||
cmd = dst[cmd];
|
||||
cmd = *dst;
|
||||
for (int i = 0; i < _dsTableLoopCount; ++i)
|
||||
cmd = _dsTable[cmd];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user