diff options
author | Filippos Karapetis | 2009-10-05 19:28:43 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-05 19:28:43 +0000 |
commit | 7596f535ac2812c3765486bc9e8f4b4d7cf04d61 (patch) | |
tree | 68d942fe6eb25d68ea2efc36e3ef4062c6823a2d /engines | |
parent | 3654cefe332dbae35978cddd7cf268d6d14379b1 (diff) | |
download | scummvm-rg350-7596f535ac2812c3765486bc9e8f4b4d7cf04d61.tar.gz scummvm-rg350-7596f535ac2812c3765486bc9e8f4b4d7cf04d61.tar.bz2 scummvm-rg350-7596f535ac2812c3765486bc9e8f4b4d7cf04d61.zip |
Fixed crash when starting games with the stable GUI
svn-id: r44671
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp index caf828b586..d87135503b 100644 --- a/engines/sci/engine/game.cpp +++ b/engines/sci/engine/game.cpp @@ -211,8 +211,6 @@ int _reset_graphics_input(EngineState *s) { gfxop_fill_box(s->gfx_state, gfx_rect(0, 0, 320, 200), s->ega_colors[0]); // Fill screen black gfxop_update(s->gfx_state); - s->gui->moveCursor(160, 150); - s->pic_is_new = 0; s->pic_visible_map = GFX_MASK_NONE; // Other values only make sense for debugging s->dyn_views = NULL; // no DynViews @@ -281,6 +279,8 @@ int _reset_graphics_input(EngineState *s) { s->titlebar_port->_bgcolor.priority = 11; // Standard priority for the titlebar port #endif + s->gui->moveCursor(160, 150); + return 0; } |