X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=score.c;h=24dcc0a29d7bcca580f720e052abed574953a58b;hb=3af590e972c9c5804d39b5a3beb2b48275acb18f;hp=7e6b28c26ae9ee02a96f3d596983f39a6abae393;hpb=9a1b4d021e360c48e3fb885a9975077063f8e012;p=open-adventure.git diff --git a/score.c b/score.c index 7e6b28c..24dcc0a 100644 --- a/score.c +++ b/score.c @@ -117,6 +117,9 @@ void terminate(enum termination mode) /* End of game. Let's tell him all about it. */ { int points = score(mode); +#if defined ADVENT_AUTOSAVE + autosave(); +#endif if (points + game.trnluz + 1 >= mxscor && game.trnluz != 0) rspeak(TOOK_LONG);