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

@@ -252,7 +252,7 @@ ext_cmd_getlin_hook(char *base)
com_index = -1;
for (oindex = 0; extcmdlist[oindex].ef_txt != (char *) 0; oindex++) {
if (extcmdlist[oindex].flags & CMD_NOT_AVAILABLE)
if (extcmdlist[oindex].flags & (CMD_NOT_AVAILABLE|INTERNALCMD))
continue;
if ((extcmdlist[oindex].flags & AUTOCOMPLETE)
&& !(!wizard && (extcmdlist[oindex].flags & WIZMODECMD))