From 9af7fba681fa1f0b48ec7c8d13305404b5f82efb Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Wed, 25 Feb 2009 21:43:57 +0000 Subject: reintroduce game_start_time (removed it in r38701), since the interpreter can be restarted and it can be retrieved via script function (eg. LSL3 about box) svn-id: r38888 --- engines/sci/engine/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/sci/engine/game.cpp') diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp index 5b73fc80e0..e2ca19b51f 100644 --- a/engines/sci/engine/game.cpp +++ b/engines/sci/engine/game.cpp @@ -764,7 +764,8 @@ int game_init(EngineState *s) { sys_string_acquire(s->sys_strings, SYS_STRING_PARSER_BASE, "parser-base", MAX_PARSER_BASE); s->parser_base = make_reg(s->sys_strings_segment, SYS_STRING_PARSER_BASE); - s->last_wait_time = g_system->getMillis(); + s->game_start_time = g_system->getMillis(); + s->last_wait_time = s->game_start_time; s->debug_mode = 0x0; // Disable all debugging s->onscreen_console = 0; // No onscreen console unless explicitly requested -- cgit v1.2.3