From d54571ff91b85a698122f3b986e62073130c7cc4 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 15 Sep 2020 20:04:33 +0200 Subject: [PATCH] fixed regression bug introduced by changes for "autofix" command This fixes program crashes that may happen when using automatic tape replay with visible feedback (like "autoplay", "autowarp" etc.). This is a regression of commit e534f3cf. --- src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.c b/src/init.c index be744766..1674aa56 100644 --- a/src/init.c +++ b/src/init.c @@ -5080,7 +5080,7 @@ static void Execute_Command(char *command) str_ptr++; } - if (global.autoplay_mode & AUTOPLAY_MODE_WARP_NO_DISPLAY) + if (global.autoplay_mode & AUTOPLAY_WARP_NO_DISPLAY) program.headless = TRUE; } else if (strPrefix(command, "patch tapes ")) -- 2.34.1