From: Eric S. Raymond Date: Sun, 11 Jun 2017 15:28:30 +0000 (-0400) Subject: Readability tweak. X-Git-Tag: 1.1~427 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=25766137598482944de22ecfc371e670a9682047;p=open-adventure.git Readability tweak. --- 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; } }