diff options
author | md5 | 2011-03-13 19:34:23 +0200 |
---|---|---|
committer | md5 | 2011-03-13 23:34:06 +0200 |
commit | d7c8ed0f5d783bbfccbb6e627689064b1149e2fd (patch) | |
tree | 5422dfc2166e62b10cd37c8d90a5e822820b2e1f | |
parent | 5a7c2e0df54b2987cf60adc536a822fdb23bd58d (diff) | |
download | scummvm-rg350-d7c8ed0f5d783bbfccbb6e627689064b1149e2fd.tar.gz scummvm-rg350-d7c8ed0f5d783bbfccbb6e627689064b1149e2fd.tar.bz2 scummvm-rg350-d7c8ed0f5d783bbfccbb6e627689064b1149e2fd.zip |
SCI: Cleanup
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index fd052bff6a..c7a2a26c3d 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -1078,10 +1078,8 @@ reg_t kNewWindow(EngineState *s, int argc, reg_t *argv) { int colorPen = adjustGraphColor((argc > 7 + argextra) ? argv[7 + argextra].toSint16() : 0); int colorBack = adjustGraphColor((argc > 8 + argextra) ? argv[8 + argextra].toSint16() : 255); - // const char *title = argv[4 + argextra].segment ? kernel_dereference_char_pointer(s, argv[4 + argextra], 0) : NULL; - if (argc>=13) { + if (argc >= 13) rect2 = Common::Rect (argv[5].toSint16(), argv[4].toSint16(), argv[7].toSint16(), argv[6].toSint16()); - } Common::String title; if (argv[4 + argextra].segment) { |