diff options
Diffstat (limited to 'taipan.c')
-rw-r--r-- | taipan.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -200,6 +200,14 @@ extern void redraw_port_stat(void); /* messages.c is generated by messages.pl */ #include "messages.c" +#ifdef GAME_HELP +# include "helpmsgs.h" +# include "helpmsgs.c" +#else +# define SET_HELP(x) +# define CLEAR_HELP +#endif + extern void __fastcall__ print_msg(const char *msg); /* old version of this used to just 'return randl()%clamp'. @@ -1549,6 +1557,7 @@ unsigned long get_num(void) { unsigned char count = 0; char input; + SET_HELP(get_amount_help); while((input = numgetc()) != '\n') { if(input == BKSP) { if(!count) continue; @@ -1575,6 +1584,7 @@ unsigned long get_num(void) { } } + CLEAR_HELP; num_buf[count] = '\0'; return strtonum(num_buf); } |