From f630f11fd8c08b6fd87ce3cfe9a3587bb685c90a Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 16 Nov 2024 01:40:35 +0100 Subject: [PATCH] fixed detecting if level (set) info is shown from main menu --- src/screens.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screens.c b/src/screens.c index 692197ea..944c7880 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4328,9 +4328,9 @@ static char *getInfoScreenFilename_Generic(int nr, boolean global) static char *getInfoScreenBuffer_Generic(void) { - return (info_mode == INFO_MODE_LEVELSET ? getLevelSetInfoBuffer(game_status == GAME_MODE_INFO) : - info_mode == INFO_MODE_LEVEL ? getLevelInfoBuffer(game_status == GAME_MODE_INFO) : - info_mode == INFO_MODE_STORY ? getLevelStoryBuffer() : + return (info_mode == INFO_MODE_LEVELSET ? getLevelSetInfoBuffer(!info_screens_from_main) : + info_mode == INFO_MODE_LEVEL ? getLevelInfoBuffer(!info_screens_from_main) : + info_mode == INFO_MODE_STORY ? getLevelStoryBuffer() : NULL); } -- 2.34.1