X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fio.c;h=3db1c459b8d62f4a5fa3f11493ca632eb663465e;hp=559a93dbceb127f6cff2a4cd0e39c39d016fd884;hb=a0afd227763655ee0ecd7ef5faea92d63d5c5ba6;hpb=d87b83a23fb7b5ac0ba610069a3ce7da8026fd80 diff --git a/src/io.c b/src/io.c index 559a93d..3db1c45 100644 --- a/src/io.c +++ b/src/io.c @@ -316,17 +316,17 @@ void commandhook(char *cmd, bool before) { * Things past this point have policy implications. */ -void drawmaps(short l) +void drawmaps(int mode) /* hook to be called after moving to redraw maps */ { if (game.options & OPTION_CURSES) { - if (l == 1) + if (mode == 1) sensor(); setwnd(srscan_window); wmove(curwnd, 0, 0); enqueue("no"); srscan(SCAN_FULL); - if (l != 2) { + if (mode != 2) { setwnd(report_window); wclear(report_window); wmove(report_window, 0, 0); @@ -429,6 +429,6 @@ void makechart(void) if (game.options & OPTION_CURSES) { setwnd(message_window); wclear(message_window); - chart(0); + chart(false); } }