From 89d5305ee398e31a8724c70cdbf106db56bb6b48 Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 28 Sep 2018 04:27:53 +0000 Subject: [PATCH] Fix VS warning git-svn-id: https://svn.eduke32.com/eduke32@6984 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/menus.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/duke3d/src/menus.cpp b/source/duke3d/src/menus.cpp index bdf7af925..e123f5978 100644 --- a/source/duke3d/src/menus.cpp +++ b/source/duke3d/src/menus.cpp @@ -4125,16 +4125,10 @@ static void Menu_AboutToStartDisplaying(Menu_t * m) static void Menu_ChangingTo(Menu_t * m) { - switch (m->menuID) - { #ifdef __ANDROID__ - case MENU_TOUCHBUTTONS: + if (m->menuID == MENU_TOUCHBUTTONS) AndroidToggleButtonEditor(); - break; #endif - default: - break; - } switch (m->type) {