aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Kagerer2008-04-25 22:38:40 +0000
committerFlorian Kagerer2008-04-25 22:38:40 +0000
commit13ef28215d69c2c841af719aff62b508e42bcb60 (patch)
tree9dff17c4c971cbb8044b125fc354176add7ea307
parent7fb4a87c2415f3ba5bc92d572788adc34a15f577 (diff)
downloadscummvm-rg350-13ef28215d69c2c841af719aff62b508e42bcb60.tar.gz
scummvm-rg350-13ef28215d69c2c841af719aff62b508e42bcb60.tar.bz2
scummvm-rg350-13ef28215d69c2c841af719aff62b508e42bcb60.zip
minor drawShape() bug fix for Malcolm's shadow
svn-id: r31728
-rw-r--r--engines/kyra/screen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index 6ffd0ace79..b7536803a8 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -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];