aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kgraphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 0c5284e82b..e3fc3ac947 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -655,11 +655,11 @@ reg_t kPortrait(EngineState *s, int argc, reg_t *argv) {
if (argc == 10) {
Common::String resourceName = s->_segMan->getString(argv[1]);
Common::Point portraitPos = 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??!!
// TODO: implement this. Looks to be a modified version of kDoSync
@@ -672,7 +672,7 @@ reg_t kPortrait(EngineState *s, int argc, reg_t *argv) {
}
case 2: { // unload resource
if (argc == 2) {
- uint16 portraitId = argv[1].toUint16();
+ //uint16 portraitId = argv[1].toUint16();
// TODO: implement this