From: Holger Schemel Date: Fri, 11 May 2018 10:02:59 +0000 (+0200) Subject: removed explicit check for Android for displaying virtual buttons X-Git-Tag: 4.1.1.0~163 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=bfae6eed033adc10e9f816182dd7812ae9cb3a0a;p=rocksndiamonds.git removed explicit check for Android for displaying virtual buttons --- diff --git a/src/libgame/system.c b/src/libgame/system.c index b7970fd5..3d499768 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -342,7 +342,7 @@ void InitOverlayInfo() overlay.grid_button_highlight = CHAR_GRID_BUTTON_NONE; -#if defined(PLATFORM_ANDROID) +#if defined(USE_TOUCH_INPUT_OVERLAY) if (strEqual(setup.touch.control_type, TOUCH_CONTROL_VIRTUAL_BUTTONS)) overlay.enabled = TRUE; #endif