diff options
author | Filippos Karapetis | 2010-05-23 16:44:36 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-05-23 16:44:36 +0000 |
commit | 9be4f6250cc88a1638299b3661b9896f4ebf57ed (patch) | |
tree | 7688a087653930d4dd1c555d3804fb40068a610c /engines/sci/engine/kmisc.cpp | |
parent | b069b9fe9691f1285446a89152cb9e295d15807c (diff) | |
download | scummvm-rg350-9be4f6250cc88a1638299b3661b9896f4ebf57ed.tar.gz scummvm-rg350-9be4f6250cc88a1638299b3661b9896f4ebf57ed.tar.bz2 scummvm-rg350-9be4f6250cc88a1638299b3661b9896f4ebf57ed.zip |
Made shrink_execution_stack() a member of EngineState
svn-id: r49159
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 74368b8c71..22295dca41 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -39,7 +39,7 @@ reg_t kRestartGame(EngineState *s, int argc, reg_t *argv) { s->restarting_flags |= SCI_GAME_IS_RESTARTING_NOW; s->restarting_flags &= ~SCI_GAME_WAS_RESTARTED_AT_LEAST_ONCE; // This appears to help - shrink_execution_stack(s, s->execution_stack_base + 1); + s->shrinkStackToBase(); script_abort_flag = 1; // Force vm to abort ASAP return NULL_REG; |