From a0ee51183be50b7f0aff8155feb5d6ce1f3e76f0 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Thu, 8 Dec 2022 05:19:07 +0100 Subject: [PATCH] Correctly initialize the control pannel in headless mode --- Source/diablo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/diablo.cpp b/Source/diablo.cpp index 109317103..f61d406b7 100644 --- a/Source/diablo.cpp +++ b/Source/diablo.cpp @@ -2865,7 +2865,7 @@ void LoadGameLevel(bool firstflag, lvl_entry lvldir) IncProgress(); IncProgress(); - if (firstflag && !HeadlessMode) { + if (firstflag) { InitControlPan(); } IncProgress();