X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=score.c;h=c8c1b96315dee2e1443002238c1e8444bb00ea06;hb=17ad4891ee2e30976325f7294b2e4f82919267ee;hp=5caef0d7a994e260a9bc33814d3cb7187aeb9926;hpb=c9e9b6457540d1feb7ccd7186ccffa57698dec57;p=open-adventure.git diff --git a/score.c b/score.c index 5caef0d..c8c1b96 100644 --- a/score.c +++ b/score.c @@ -3,14 +3,11 @@ #include "main.h" #include "share.h" -#define TRUE (0==0) -#define FALSE (0!=0) - /* * SCORING AND WRAP-UP */ -void score(MODE)long MODE; { +void score(long MODE) { /* <0 if scoring, >0 if quitting, =0 if died or won */ /* THE PRESENT SCORING ALGORITHM IS AS FOLLOWS: @@ -115,6 +112,6 @@ L20210: SPEAK(CTEXT[I]); SETPRM(1,I,I); SPK=263; L25000: RSPEAK(SPK); - exit(FALSE); + exit(0); }