From a79141a3387e9fa613cff2f1b39fb9adc89f2e54 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Sat, 19 Jan 2019 02:23:54 +0100 Subject: [PATCH] Menu: Fixed one small input glitch in the modlist --- Source/Menu-FN/w_modlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Menu-FN/w_modlist.cpp b/Source/Menu-FN/w_modlist.cpp index 34bec138..ac7c20d0 100644 --- a/Source/Menu-FN/w_modlist.cpp +++ b/Source/Menu-FN/w_modlist.cpp @@ -107,7 +107,7 @@ void CModList::Input(float type, float x, float y, float devid) pos[1] = m_y; for ( int i = m_scroll; i < (visible + m_scroll); i++) { - if (gameinfo_current == i) { + if (games[i].gamedir == GAME_DIR) { continue; } if (Util_CheckMouse(pos[0], pos[1], m_size[0], 29)) {