X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=io.c;h=81f1c8a18b70fdb3953cb5d7530f43de77d1b1f6;hp=a5ac6d9e30411105399ca04869758b15ffcee87a;hb=cf91699c89b88f76dcf63c60624635184e8cb7eb;hpb=bed74efa98d15a3f6497c9cc721785c6e7387c07 diff --git a/io.c b/io.c index a5ac6d9..81f1c8a 100644 --- a/io.c +++ b/io.c @@ -82,7 +82,7 @@ void clearscreen(void) { #endif } -void pause(int i) { +void pause_game(int i) { char buf[BUFSIZ], *prompt; if (i==1) { if (skill > 2) @@ -121,13 +121,13 @@ void skip(int i) { int y, x; getyx(stdscr, y, x); if (y == screenheight-1) - pause(0); + pause_game(0); else waddch(stdscr, '\n'); } else { linecount++; if (linecount >= screenheight) - pause(0); + pause_game(0); else putchar('\n'); }