Skip to content

Commit aed70cb

Browse files
sapiersapier
sapier
authored and
sapier
committedJan 11, 2015
Disable sound and key binding settings in "pause" menu on android
1 parent 2d9b311 commit aed70cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

Diff for: ‎src/game.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1114,11 +1114,13 @@ static void show_pause_menu(GUIFormSpecMenu **cur_formspec,
11141114
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_change_password;"
11151115
<< wide_to_narrow(wstrgettext("Change Password")) << "]";
11161116
}
1117-
1117+
1118+
#ifndef __ANDROID__
11181119
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_sound;"
11191120
<< wide_to_narrow(wstrgettext("Sound Volume")) << "]";
11201121
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_key_config;"
11211122
<< wide_to_narrow(wstrgettext("Change Keys")) << "]";
1123+
#endif
11221124
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_exit_menu;"
11231125
<< wide_to_narrow(wstrgettext("Exit to Menu")) << "]";
11241126
os << "button_exit[4," << (ypos++) << ";3,0.5;btn_exit_os;"

0 commit comments

Comments
 (0)
Please sign in to comment.