Breaking one-line conditionals
This commit is contained in:
parent
3001fb1dc1
commit
0f15c9e0f3
4 changed files with 190 additions and 95 deletions
|
@ -56,7 +56,8 @@ int suspend(void)
|
|||
FILE *fp = NULL;
|
||||
|
||||
rspeak(SUSPEND_WARNING);
|
||||
if (!yes(arbitrary_messages[THIS_ACCEPTABLE], arbitrary_messages[OK_MAN], arbitrary_messages[OK_MAN])) return GO_CLEAROBJ;
|
||||
if (!yes(arbitrary_messages[THIS_ACCEPTABLE], arbitrary_messages[OK_MAN], arbitrary_messages[OK_MAN]))
|
||||
return GO_CLEAROBJ;
|
||||
game.saved = game.saved + 5;
|
||||
|
||||
while (fp == NULL) {
|
||||
|
@ -87,7 +88,8 @@ int resume(void)
|
|||
|
||||
if (game.loc != 1 || game.abbrev[1] != 1) {
|
||||
rspeak(RESUME_ABANDON);
|
||||
if (!yes(arbitrary_messages[THIS_ACCEPTABLE], arbitrary_messages[OK_MAN], arbitrary_messages[OK_MAN])) return GO_CLEAROBJ;
|
||||
if (!yes(arbitrary_messages[THIS_ACCEPTABLE], arbitrary_messages[OK_MAN], arbitrary_messages[OK_MAN]))
|
||||
return GO_CLEAROBJ;
|
||||
}
|
||||
|
||||
while (fp == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue