diff options
author | Martin Kiewitz | 2010-01-10 11:33:10 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-10 11:33:10 +0000 |
commit | d2d740af2a5c7c67fdb823ca8e12fc6af2716c93 (patch) | |
tree | 5f073c1f0ec1af9da32c6155f303f9f688ce5ae7 | |
parent | 156e341e9b9902d67cb494c32678cab4d89ccddd (diff) | |
download | scummvm-rg350-d2d740af2a5c7c67fdb823ca8e12fc6af2716c93.tar.gz scummvm-rg350-d2d740af2a5c7c67fdb823ca8e12fc6af2716c93.tar.bz2 scummvm-rg350-d2d740af2a5c7c67fdb823ca8e12fc6af2716c93.zip |
SCI: fixed typo when getting resourceId on kPortrait call - fixes resource not found in kq6 within pawn shop
svn-id: r47223
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 1a0d789458..de02b96dca 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -658,7 +658,7 @@ 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(); uint noun = argv[5].toUint16() & 0xff; uint verb = argv[6].toUint16() & 0xff; uint cond = argv[7].toUint16() & 0xff; |