Simplify rhack and parse

AFAICT, we only used the first char of the "command_line" string.
Just turn it into int to hold the key the main input loop parse() got.

Shouldn't have any functional difference.
This commit is contained in:
Pasi Kallinen
2024-01-26 15:19:21 +02:00
parent 17414c500a
commit 39fb072a92
5 changed files with 24 additions and 43 deletions

View File

@@ -350,7 +350,7 @@ extern void parseautocomplete(char *, boolean);
extern void lock_mouse_buttons(boolean);
extern void reset_commands(boolean);
extern void update_rest_on_space(void);
extern void rhack(char *);
extern void rhack(int);
extern int doextlist(void);
extern int extcmd_via_menu(void);
extern int enter_explore_mode(void);