Modified action() to take take a copy of command rather than a pointer.
[open-adventure.git] / advent.h
index ff6224087d86e8103db3afa8a3eead4b6fc37ed6..002d3cae62e736fbebc93a97cc60bf562131ddbb 100644 (file)
--- a/advent.h
+++ b/advent.h
@@ -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);