diff options
author | Andre Heider | 2009-02-25 21:43:57 +0000 |
---|---|---|
committer | Andre Heider | 2009-02-25 21:43:57 +0000 |
commit | 9af7fba681fa1f0b48ec7c8d13305404b5f82efb (patch) | |
tree | d0674187220786687c4ac014c216ea898aa55ab2 /engines/sci/engine/game.cpp | |
parent | 1786ecabbf567b60cf628d0235b52b5343c013ad (diff) | |
download | scummvm-rg350-9af7fba681fa1f0b48ec7c8d13305404b5f82efb.tar.gz scummvm-rg350-9af7fba681fa1f0b48ec7c8d13305404b5f82efb.tar.bz2 scummvm-rg350-9af7fba681fa1f0b48ec7c8d13305404b5f82efb.zip |
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
Diffstat (limited to 'engines/sci/engine/game.cpp')
-rw-r--r-- | engines/sci/engine/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 |