Skip to content

Commit

Permalink
Fix Mouse XSTR Index in In-game options (#6501)
Browse files Browse the repository at this point in the history
In the In-game options for `mouse_mode` the XSTR index for "Mouse" was set to 1774, which is already used for "Glide When Pressed". Luckily "Mouse" XSTR already exists with Index 1373, so this PR changes it to that.
  • Loading branch information
wookieejedi authored Jan 2, 2025
1 parent 369ed0f commit fe722cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/io/mouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static auto MouseSensitivityOption __UNUSED = options::OptionBuilder<int>("Input

bool Use_mouse_to_fly = false;

static SCP_string mouse_mode_display(bool mode) { return mode ? XSTR("Joy-0", 1699) : XSTR("Mouse", 1774); }
static SCP_string mouse_mode_display(bool mode) { return mode ? XSTR("Joy-0", 1699) : XSTR("Mouse", 1373); }

static auto UseMouseOption __UNUSED = options::OptionBuilder<bool>("Input.UseMouse",
std::pair<const char*, int>{"Mouse", 1373},
Expand Down

0 comments on commit fe722cb

Please sign in to comment.