diff options
author | Johannes Schickel | 2009-10-31 19:55:49 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-10-31 19:55:49 +0000 |
commit | f70904616721b174dc6fb78139e2dfe30e830b07 (patch) | |
tree | 01353090d8a53dd15e09b95f36ebf043f8173c8d /engines/sci | |
parent | fa506b5f0a8914af0c84524eb654f4b0a9ca8b7d (diff) | |
download | scummvm-rg350-f70904616721b174dc6fb78139e2dfe30e830b07.tar.gz scummvm-rg350-f70904616721b174dc6fb78139e2dfe30e830b07.tar.bz2 scummvm-rg350-f70904616721b174dc6fb78139e2dfe30e830b07.zip |
Fix compilation.
svn-id: r45582
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 414d6f160a..9c855d49a9 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -653,11 +653,11 @@ reg_t kPortrait(EngineState *s, int argc, reg_t *argv) { if (argc == 10) { Common::String resourceName = s->_segMan->getString(argv[1]); Common::Point position = Common::Point(argv[2].toUint16(), argv[3].toUint16()); - /*uint resourceNum = argv[4].toUint16() & 0xff; + uint resourceNum = argv[4].toUint16() & 0xff; uint noun = argv[5].toUint16() & 0xff; uint verb = argv[6].toUint16() & 0xff; uint cond = argv[7].toUint16() & 0xff; - uint seq = argv[8].toUint16() & 0xff;*/ + uint seq = argv[8].toUint16() & 0xff; // argv[9] is usually 0??!! s->_gui->portraitShow(resourceName, position, resourceNum, noun, verb, cond, seq); @@ -670,7 +670,7 @@ reg_t kPortrait(EngineState *s, int argc, reg_t *argv) { } case 2: { // unload if (argc == 2) { - //uint16 portraitId = argv[1].toUint16(); + uint16 portraitId = argv[1].toUint16(); s->_gui->portraitUnload(portraitId); } else { warning("kPortrait(unload) called with unsupported argc %d", argc); |