aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-24 11:59:40 +0000
committerMartin Kiewitz2010-07-24 11:59:40 +0000
commit63c945f93ae01d046b092e783154d57609d68a79 (patch)
tree6ec7adc06a249eb111b085bf4f6268384a72b44c /engines/sci/graphics
parentd49d1d60feabe7f3fe7691ed27b2627e35de848a (diff)
downloadscummvm-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.cpp2
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++;