X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=e88773e94245869e39f0dc3ce598c0f82127a647;hb=e34bd8acf631dd609b4b05252df3a1ea49e24c9b;hp=6cd73b562d218bf489abc5269d0e7bd54332ffea;hpb=a86c67c2ab269eb638cbcb6029e6b07afd4824c9;p=open-adventure.git diff --git a/actions.c b/actions.c index 6cd73b5..e88773e 100644 --- a/actions.c +++ b/actions.c @@ -183,7 +183,7 @@ static int blast(void) if (HERE(ROD2)) game.bonus=135; RSPEAK(game.bonus); - score(0); + score(endgame); return GO_CLEAROBJ; /* pacify compiler - we never get here */ } @@ -777,7 +777,7 @@ static int quit(FILE *input) /* Quit. Intransitive only. Verify intent and exit if that's what he wants. */ { if (YES(input,REALLY_QUIT,OK_MAN,OK_MAN)) - score(1); + score(quitgame); return GO_CLEAROBJ; } @@ -949,7 +949,7 @@ static int throw(FILE *cmdin, long verb, token_t obj) static int vscore(void) /* Score. Call scoring routine but tell it to return. */ { - score(-1); + score(scoregame); return GO_CLEAROBJ; }