Skip to content

Commit

Permalink
Restrict +followmode action to automap
Browse files Browse the repository at this point in the history
Allows key bound to +followmode to be bound to another action outside of automap. See #845.
  • Loading branch information
bradharding committed Oct 25, 2024
1 parent c8a3dc4 commit fc28780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit fc28780

Please sign in to comment.