removed explicit check for Android for displaying virtual buttons
authorHolger Schemel <info@artsoft.org>
Fri, 11 May 2018 10:02:59 +0000 (12:02 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 5 Jun 2018 18:58:42 +0000 (20:58 +0200)
src/libgame/system.c

index b7970fd50dddd1c84f8b54d236628ea0307aee02..3d499768e1a3a088d8559c2d89a4ba8b8e33a6ba 100644 (file)
@@ -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