mirror of
https://github.com/minetest/minetest.git
synced 2024-11-24 00:23:46 +01:00
Disable sound and key binding settings in "pause" menu on android
This commit is contained in:
parent
2d9b311e7b
commit
aed70cb0b6
@ -1114,11 +1114,13 @@ static void show_pause_menu(GUIFormSpecMenu **cur_formspec,
|
|||||||
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_change_password;"
|
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_change_password;"
|
||||||
<< wide_to_narrow(wstrgettext("Change Password")) << "]";
|
<< wide_to_narrow(wstrgettext("Change Password")) << "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __ANDROID__
|
||||||
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_sound;"
|
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_sound;"
|
||||||
<< wide_to_narrow(wstrgettext("Sound Volume")) << "]";
|
<< wide_to_narrow(wstrgettext("Sound Volume")) << "]";
|
||||||
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_key_config;"
|
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_key_config;"
|
||||||
<< wide_to_narrow(wstrgettext("Change Keys")) << "]";
|
<< wide_to_narrow(wstrgettext("Change Keys")) << "]";
|
||||||
|
#endif
|
||||||
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_exit_menu;"
|
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_exit_menu;"
|
||||||
<< wide_to_narrow(wstrgettext("Exit to Menu")) << "]";
|
<< wide_to_narrow(wstrgettext("Exit to Menu")) << "]";
|
||||||
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_exit_os;"
|
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_exit_os;"
|
||||||
|
Loading…
Reference in New Issue
Block a user