Skip to content

Commit

Permalink
tr1/controls: hide the reset and unbind texts when changing keys (#2555)
Browse files Browse the repository at this point in the history
Resolves #2103.
  • Loading branch information
walkawayy authored Feb 26, 2025
1 parent f98d5a3 commit 7e4ceb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/tr1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## [Unreleased](https://github.com/LostArtefacts/TRX/compare/tr1-4.8.3...develop) - ××××-××-××
- added support for custom levels to use `disable_floor` in the gameflow, similar to TR2's Floating Islands (#2541)
- changed the Controls screen to hide the reset and unbind texts when changing a key (#2103)

## [4.8.3](https://github.com/LostArtefacts/TRX/compare/tr1-4.8.2...tr1-4.8.3) - 2025-02-17
- fixed some of Lara's speech in the gym not playing in response to player action (#2514, regression from 4.8)
Expand Down
2 changes: 1 addition & 1 deletion src/tr1/game/option/option_controls.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static void M_InitText(INPUT_BACKEND backend, INPUT_LAYOUT layout)

static void M_UpdateText(INPUT_BACKEND backend, INPUT_LAYOUT layout)
{
if (layout == INPUT_LAYOUT_DEFAULT) {
if (layout == INPUT_LAYOUT_DEFAULT || m_KeyMode == KM_BROWSEKEYUP) {
Text_Hide(m_Text[TEXT_RESET], true);
Text_Hide(m_Text[TEXT_UNBIND], true);
} else {
Expand Down

0 comments on commit 7e4ceb6

Please # to comment.