Make sure the score list appears in all situations.
This commit is contained in:
parent
02c8fd2586
commit
1d8ea533bd
8 changed files with 27 additions and 0 deletions
|
|
@ -374,6 +374,9 @@ quit(int a)
|
|||
refresh();
|
||||
writelog(purse, CHICKEN, 0);
|
||||
score(purse, CHICKEN, 0);
|
||||
printf("[Press return to exit]\n");
|
||||
fflush(NULL);
|
||||
getchar();
|
||||
byebye(0);
|
||||
}
|
||||
else if (ch == 's') {
|
||||
|
|
|
|||
|
|
@ -86,6 +86,9 @@ char monst;
|
|||
refresh();
|
||||
writelog(purse, KILLED, monst);
|
||||
score(purse, KILLED, monst);
|
||||
printf("[Press return to exit]\n");
|
||||
fflush(NULL);
|
||||
getchar();
|
||||
byebye(0);
|
||||
}
|
||||
|
||||
|
|
@ -340,6 +343,9 @@ addstr("a great profit and are admitted to the fighters guild.\n");
|
|||
showpack(TRUE, NULL);
|
||||
writelog(purse, WINNER, 0);
|
||||
score(purse, WINNER, 0);
|
||||
printf("[Press return to exit]\n");
|
||||
fflush(NULL);
|
||||
getchar();
|
||||
byebye(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue