From aed70cb0b652d6cb2272e7b94cd56671b3df6239 Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 11 Jan 2015 13:58:49 +0100 Subject: Disable sound and key binding settings in "pause" menu on android --- src/game.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game.cpp b/src/game.cpp index 00931a73b..10ed61c5b 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1114,11 +1114,13 @@ static void show_pause_menu(GUIFormSpecMenu **cur_formspec, os << "button_exit[4," << (ypos++) << ";3,0.5;btn_change_password;" << wide_to_narrow(wstrgettext("Change Password")) << "]"; } - + +#ifndef __ANDROID__ os << "button_exit[4," << (ypos++) << ";3,0.5;btn_sound;" << wide_to_narrow(wstrgettext("Sound Volume")) << "]"; os << "button_exit[4," << (ypos++) << ";3,0.5;btn_key_config;" << wide_to_narrow(wstrgettext("Change Keys")) << "]"; +#endif os << "button_exit[4," << (ypos++) << ";3,0.5;btn_exit_menu;" << wide_to_narrow(wstrgettext("Exit to Menu")) << "]"; os << "button_exit[4," << (ypos++) << ";3,0.5;btn_exit_os;" -- cgit v1.2.3