From fc28780270e761d5688f0808dbb03617f6ff5a14 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Fri, 25 Oct 2024 17:02:50 +1100 Subject: [PATCH] Restrict `+followmode` action to automap Allows key bound to +followmode to be bound to another action outside of automap. See #845. --- src/c_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_cmds.c b/src/c_cmds.c index 7cbe04869..f5adbe27e 100644 --- a/src/c_cmds.c +++ b/src/c_cmds.c @@ -326,7 +326,7 @@ action_t actions[] = { "+clearmark", true, true, clearmark_action_func, &keyboardclearmark, NULL, &mouseclearmark, &controllerclearmark, NULL }, { "+console", false, false, console_action_func, &keyboardconsole, NULL, &mouseconsole, &controllerconsole, NULL }, { "+fire", true, false, fire_action_func, &keyboardfire, NULL, &mousefire, &controllerfire, NULL }, - { "+followmode", true, false, followmode_action_func, &keyboardfollowmode, NULL, &mousefollowmode, &controllerfollowmode, NULL }, + { "+followmode", true, true, followmode_action_func, &keyboardfollowmode, NULL, &mousefollowmode, &controllerfollowmode, NULL }, { "+forward", true, false, forward_action_func, &keyboardforward, &keyboardforward2, &mouseforward, &controllerforward, NULL }, { "+freelook", true, false, NULL, &keyboardfreelook, NULL, &mousefreelook, &controllerfreelook, NULL }, { "+grid", true, true, grid_action_func, &keyboardgrid, NULL, &mousegrid, &controllergrid, NULL },