aboutsummaryrefslogtreecommitdiff
path: root/games/battlestar/save.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/battlestar/save.c')
-rw-r--r--games/battlestar/save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/battlestar/save.c b/games/battlestar/save.c
index f1031630c9b0..f675b8c98a1e 100644
--- a/games/battlestar/save.c
+++ b/games/battlestar/save.c
@@ -91,7 +91,7 @@ restore()
fread(&meetgirl, sizeof meetgirl, 1, fp);
fread(&followgod, sizeof followgod, 1, fp);
fread(&godready, sizeof godready, 1, fp);
- fread(&win, sizeof win, 1, fp);
+ fread(&bs_win, sizeof bs_win, 1, fp);
fread(&wintime, sizeof wintime, 1, fp);
fread(&matchlight, sizeof matchlight, 1, fp);
fread(&matchcount, sizeof matchcount, 1, fp);
@@ -172,7 +172,7 @@ save()
fwrite(&meetgirl, sizeof meetgirl, 1, fp);
fwrite(&followgod, sizeof followgod, 1, fp);
fwrite(&godready, sizeof godready, 1, fp);
- fwrite(&win, sizeof win, 1, fp);
+ fwrite(&bs_win, sizeof bs_win, 1, fp);
fwrite(&wintime, sizeof wintime, 1, fp);
fwrite(&matchlight, sizeof matchlight, 1, fp);
fwrite(&matchcount, sizeof matchcount, 1, fp);