Make mouselook use internal extended command

... instead of faking a key press
This commit is contained in:
Pasi Kallinen
2021-07-21 12:23:21 +03:00
parent bfe8727c59
commit a5e5435619
6 changed files with 26 additions and 17 deletions

View File

@@ -119,7 +119,7 @@ interesting_command(unsigned indx, int cmds)
if (!strcmp("?", extcmdlist[indx].ef_txt))
return true;
// some commands might have been compiled-out; don't show them
if ((extcmdlist[indx].flags & CMD_NOT_AVAILABLE) != 0)
if ((extcmdlist[indx].flags & (CMD_NOT_AVAILABLE|INTERNALCMD)) != 0)
return false;
// if picking from normal mode-only don't show wizard mode commands
// or if picking from wizard mode-only don't show normal commands