Address GitLab issue #36: "Get what?" prompt incorrectly handled
[open-adventure.git] / advent.h
index 09ec71b7d16f9a82c1d9bf241687b4a58ab33950..002d3cae62e736fbebc93a97cc60bf562131ddbb 100644 (file)
--- a/advent.h
+++ b/advent.h
@@ -87,7 +87,7 @@ enum termination {endgame, quitgame, scoregame};
 
 enum speechpart {unknown, intransitive, transitive};
 
-enum wordtype {NO_WORD_TYPE, MOTION, OBJECT, ACTION, SPECIAL, NUMERIC};
+enum wordtype {NO_WORD_TYPE, MOTION, OBJECT, ACTION, NUMERIC};
 
 typedef enum scorebonus {none, splatter, defeat, victory} score_t;
 
@@ -225,7 +225,7 @@ extern int suspend(void);
 extern int resume(void);
 extern int restore(FILE *);
 extern long initialise(void);
-extern int action(struct command_t *command);
+extern int action(struct command_t command);
 extern void state_change(obj_t, int);