Readability tweak.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 11 Jun 2017 15:28:30 +0000 (11:28 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 11 Jun 2017 15:28:30 +0000 (11:28 -0400)
saveresume.c

index 03b7490638ede110252e3bf26f0b76113b83a80b..348006562c0a7c083d4a162450c2238e46f8a729 100644 (file)
@@ -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;
     }
 }