diff options
Diffstat (limited to 'engines/sci/engine/vm.cpp')
-rw-r--r-- | engines/sci/engine/vm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 21dabcc756..55febf4ca7 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -540,8 +540,7 @@ void vm_handle_fatal_error(EngineState *s, int line, const char *file) { if (jump_initialized) longjmp(vm_error_address, 0); #endif - fprintf(stderr, "Could not recover, exitting...\n"); - exit(1); + error(stderr, "Could not recover, exitting...\n"); } static inline script_t *script_locate_by_segment(EngineState *s, seg_id_t seg) { |