mirror of https://github.com/minetest/minetest.git
Fix "sneak" being called "crunch"
I suppose "crouch" was meant, but "sneak" is better anyway.
This commit is contained in:
parent
4d880dd789
commit
7a9315362b
|
@ -65,7 +65,7 @@ static EKEY_CODE id_to_keycode(touch_gui_button_id id)
|
|||
case jump_id:
|
||||
key = "jump";
|
||||
break;
|
||||
case crunch_id:
|
||||
case sneak_id:
|
||||
key = "sneak";
|
||||
break;
|
||||
case zoom_id:
|
||||
|
@ -425,8 +425,8 @@ TouchScreenGUI::TouchScreenGUI(IrrlichtDevice *device, ISimpleTextureSource *tsr
|
|||
m_screensize.Y),
|
||||
L"x", false);
|
||||
|
||||
// init crunch button
|
||||
initButton(crunch_id,
|
||||
// init sneak button
|
||||
initButton(sneak_id,
|
||||
rect<s32>(m_screensize.X - 3.25f * m_button_size,
|
||||
m_screensize.Y - m_button_size,
|
||||
m_screensize.X - 1.75f * m_button_size,
|
||||
|
|
|
@ -49,7 +49,7 @@ enum class TapState
|
|||
typedef enum
|
||||
{
|
||||
jump_id = 0,
|
||||
crunch_id,
|
||||
sneak_id,
|
||||
zoom_id,
|
||||
aux1_id,
|
||||
after_last_element_id,
|
||||
|
|
Loading…
Reference in New Issue