From: David Griffith Date: Wed, 30 Jan 2019 12:48:04 +0000 (-0800) Subject: Fix problem with not using f_setup.interpreter_number all the way. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=bc627f0d6b5d35ed2d5d85703dbb1f6f2cb3e160;p=liskon_frotz.git Fix problem with not using f_setup.interpreter_number all the way. --- diff --git a/src/dumb/dumb_init.c b/src/dumb/dumb_init.c index 13b1de9..1b98c56 100644 --- a/src/dumb/dumb_init.c +++ b/src/dumb/dumb_init.c @@ -86,7 +86,6 @@ error: static int user_screen_width = 75; static int user_screen_height = 24; -static int user_interpreter_number = -1; static int user_random_seed = -1; static int user_tandy_bit = 0; static char *graphics_filename = NULL; @@ -188,8 +187,8 @@ void os_init_screen(void) h_screen_rows = user_screen_height; h_screen_cols = user_screen_width; - if (user_interpreter_number > 0) - h_interpreter_number = user_interpreter_number; + if (f_setup.interpreter_number > 0) + h_interpreter_number = f_setup.interpreter_number; else { /* Use ms-dos for v6 (because that's what most people have the * graphics files for), but don't use it for v5 (or Beyond Zork