From: Holger Schemel Date: Tue, 15 Sep 2020 18:04:33 +0000 (+0200) Subject: fixed regression bug introduced by changes for "autofix" command X-Git-Tag: 4.2.0.3~40 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=d54571ff91b85a698122f3b986e62073130c7cc4;p=rocksndiamonds.git 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. --- 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 "))