Prepare to initialize public repository.
[open-adventure.git] / score.c
diff --git a/score.c b/score.c
index acda23f8f6d32da7a9a7cb12b8b77e922871ad87..c8c1b96315dee2e1443002238c1e8444bb00ea06 100644 (file)
--- a/score.c
+++ b/score.c
@@ -1,15 +1,13 @@
+#include <stdlib.h>
 #include "misc.h"
 #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:
@@ -114,6 +112,6 @@ L20210: SPEAK(CTEXT[I]);
        SETPRM(1,I,I);
        SPK=263;
 L25000: RSPEAK(SPK);
-       exit(FALSE);
+       exit(0);
 
 }