Disable sound and key binding settings in "pause" menu on android
authorsapier <Sapier at GMX dot net>
Sun, 11 Jan 2015 12:58:49 +0000 (13:58 +0100)
committersapier <Sapier at GMX dot net>
Sun, 11 Jan 2015 12:58:49 +0000 (13:58 +0100)
src/game.cpp

index 00931a73b8aeb0509b2ddde98f6985e2156ea0ca..10ed61c5b247b1ed9440c5707247fd22a2b1400a 100644 (file)
@@ -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;"