aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-27 21:33:51 +0000
committerMartin Kiewitz2010-01-27 21:33:51 +0000
commit90712388f88ea6279ddb9bad668335c4bbc2f60c (patch)
tree8be9593e9bb9d97a6be0a1a59033568a23953193 /engines/sci/engine
parent76ff84a62fcbec28b58ab14a157ec9fc74dd05d6 (diff)
downloadscummvm-rg350-90712388f88ea6279ddb9bad668335c4bbc2f60c.tar.gz
scummvm-rg350-90712388f88ea6279ddb9bad668335c4bbc2f60c.tar.bz2
scummvm-rg350-90712388f88ea6279ddb9bad668335c4bbc2f60c.zip
SCI: added workaround for laura bow 2 game menu (same issue as in pharkas)...sigh
svn-id: r47611
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 5c955568fb..214560145c 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -945,6 +945,13 @@ reg_t kDrawCel(EngineState *s, int argc, reg_t *argv) {
priority = 15;
}
+ if (s->_gameId == "laurabow2") {
+ // WORKAROUND
+ // see the one above
+ if ((viewId == 995) && (priority == 0))
+ priority = 15;
+ }
+
s->_gui->drawCel(viewId, loopNo, celNo, x, y, priority, paletteNo, hiresMode, upscaledHiresHandle);
return s->r_acc;