* Enable sneaking.

* Fix #19.
This commit is contained in:
iProgramInCpp
2023-08-02 22:45:40 +03:00
parent b2edbd645a
commit a62ade1d99
2 changed files with 5 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ void TextInputBox::keyPressed(Minecraft* minecraft, int key)
chr = bShiftPressed ? '<' : ',';
break;
case AKEYCODE_PERIOD:
chr = bShiftPressed ? '>' : ':';
chr = bShiftPressed ? '>' : '.';
break;
case AKEYCODE_PLUS:
chr = bShiftPressed ? '+' : '=';

View File

@@ -91,6 +91,10 @@ void Options::initDefaultValues()
m_keyBinds[13].value = AKEYCODE_DPAD_UP;
m_keyBinds[14].value = AKEYCODE_DPAD_CENTER;
m_keyBinds[15].value = AKEYCODE_BACK;
#ifndef ORIGINAL_CODE
m_keyBinds[9].value = AKEYCODE_SHIFT_LEFT;
#endif
}
Options::Options()