From 2fba84bf0a220a3515efdaddb6aae4109d777935 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 18 Jun 2019 21:34:44 -0700 Subject: GLK: ALAN2: Add Glk window initialization --- engines/glk/alan2/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/glk/alan2/main.cpp') diff --git a/engines/glk/alan2/main.cpp b/engines/glk/alan2/main.cpp index 196ff908ff..2a1b884b3d 100644 --- a/engines/glk/alan2/main.cpp +++ b/engines/glk/alan2/main.cpp @@ -1903,10 +1903,12 @@ static void openFiles() Run the adventure */ -void run(void) -{ +void run() { openFiles(); + // Set default line and column + col = lin = 1; + //setjmp(restart_label); /* Return here if he wanted to restart */ init(); /* Load, initialise and start the adventure */ -- cgit v1.2.3