diff --git a/mobile.h b/mobile.h index ecb327633be62092e9ba204898e7776762bbe1fa..bd1e5737effbf7290a7fd6d3a56bd2b85d1462d9 100644 --- a/mobile.h +++ b/mobile.h @@ -1,5 +1,6 @@ #ifndef MOBILE_H #define MOBILE_H +#include "location.h" typedef struct { @@ -10,7 +11,7 @@ typedef struct extern Mobile *MobileNew(char *name, char *desc); extern Mobile *MobileDelete(Mobile *m); -extern Mobile *MobileMove(Mobile *m, Location *CurrentLoc); +extern void MobileMove(Mobile *m, Location *CurrentLoc); extern void MobilePrint(Mobile *m); #endif // MOBILE_H \ No newline at end of file