aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/main.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-18 21:34:44 -0700
committerPaul Gilbert2019-06-22 14:40:49 -0700
commit2fba84bf0a220a3515efdaddb6aae4109d777935 (patch)
treea05807fedda5d6a1112d0f7ea0422cf163c5de7c /engines/glk/alan2/main.cpp
parent0bbd9e26385efc19557d3d96ed275f051d7fbd04 (diff)
downloadscummvm-rg350-2fba84bf0a220a3515efdaddb6aae4109d777935.tar.gz
scummvm-rg350-2fba84bf0a220a3515efdaddb6aae4109d777935.tar.bz2
scummvm-rg350-2fba84bf0a220a3515efdaddb6aae4109d777935.zip
GLK: ALAN2: Add Glk window initialization
Diffstat (limited to 'engines/glk/alan2/main.cpp')
-rw-r--r--engines/glk/alan2/main.cpp6
1 files changed, 4 insertions, 2 deletions
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 */