diff options
author | Martin Kiewitz | 2010-07-24 11:59:40 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-24 11:59:40 +0000 |
commit | 63c945f93ae01d046b092e783154d57609d68a79 (patch) | |
tree | 6ec7adc06a249eb111b085bf4f6268384a72b44c /engines/sci/graphics | |
parent | d49d1d60feabe7f3fe7691ed27b2627e35de848a (diff) | |
download | scummvm-rg350-63c945f93ae01d046b092e783154d57609d68a79.tar.gz scummvm-rg350-63c945f93ae01d046b092e783154d57609d68a79.tar.bz2 scummvm-rg350-63c945f93ae01d046b092e783154d57609d68a79.zip |
SCI: fix warning and remove duplicate code
svn-id: r51243
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/paint16.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/paint16.cpp b/engines/sci/graphics/paint16.cpp index 9361c1adbc..4227c458c5 100644 --- a/engines/sci/graphics/paint16.cpp +++ b/engines/sci/graphics/paint16.cpp @@ -534,7 +534,7 @@ reg_t GfxPaint16::kernelDisplay(const char *text, int argc, reg_t *argv) { case SCI_DISPLAY_DUMMY1: case SCI_DISPLAY_DUMMY2: if (!((g_sci->getGameId() == GID_LONGBOW) && (g_sci->isDemo()))) - error("Unknown kDisplay argument %X", displayArg); + error("Unknown kDisplay argument %X", displayArg.offset); if (displayArg.offset == SCI_DISPLAY_DUMMY2) { if (argc) { argc--; argv++; |