From 7596f535ac2812c3765486bc9e8f4b4d7cf04d61 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 5 Oct 2009 19:28:43 +0000 Subject: Fixed crash when starting games with the stable GUI svn-id: r44671 --- engines/sci/engine/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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; } -- cgit v1.2.3