From 25766137598482944de22ecfc371e670a9682047 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 11 Jun 2017 11:28:30 -0400 Subject: [PATCH] Readability tweak. --- saveresume.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/saveresume.c b/saveresume.c index 03b7490..3480065 100644 --- a/saveresume.c +++ b/saveresume.c @@ -83,13 +83,13 @@ int saveresume(FILE *input, bool resume) SETPRM(1,k/10,MOD(k,10)); SETPRM(3,VRSION/10,MOD(VRSION,10)); RSPEAK(269); - return(2000); + } else { + memcpy(&game, &save.game, sizeof(struct game_t)); + OBJSND[BIRD] = save.bird; + OBJTXT[OYSTER] = save.bivalve; + game.zzword=RNDVOC(3,game.zzword); } - memcpy(&game, &save.game, sizeof(struct game_t)); - OBJSND[BIRD] = save.bird; - OBJTXT[OYSTER] = save.bivalve; - game.zzword=RNDVOC(3,game.zzword); - return(2000); + return 2000; } } -- 2.31.1