X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=score.c;fp=score.c;h=24dcc0a29d7bcca580f720e052abed574953a58b;hp=7e6b28c26ae9ee02a96f3d596983f39a6abae393;hb=dfff80faa8b5cf4cd286fee2d1ef5eebcdb49829;hpb=426684fec2c4b61ae3e1eb6c709fca61f0e5753f 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);