aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2015-01-11 13:58:49 +0100
committersapier <Sapier at GMX dot net>2015-01-11 13:58:49 +0100
commitaed70cb0b652d6cb2272e7b94cd56671b3df6239 (patch)
treebcbe87242d098b30a2eaeb24bce2094aa367879e /src
parent2d9b311e7b6c20382790e82f0ccf74f91278a0c3 (diff)
downloadminetest-aed70cb0b652d6cb2272e7b94cd56671b3df6239.tar.gz
minetest-aed70cb0b652d6cb2272e7b94cd56671b3df6239.tar.bz2
minetest-aed70cb0b652d6cb2272e7b94cd56671b3df6239.zip
Disable sound and key binding settings in "pause" menu on android
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp4
1 files changed, 3 insertions, 1 deletions
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;"