From b75ada24f9cfddf2e057638743e6f34d678f77bf Mon Sep 17 00:00:00 2001 From: lvgx Date: Wed, 23 Dec 2020 20:12:02 +0100 Subject: [PATCH] Fix build Tested on gcc 10.2.0 (linux) --- src/pilot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pilot.h b/src/pilot.h index 33d729e..abc5a13 100644 --- a/src/pilot.h +++ b/src/pilot.h @@ -34,7 +34,7 @@ struct Ship; #define PARACHUTE_FRAME 2 -struct Pilot { +typedef struct Pilot { struct Walker walker; /* inherits Walker */ SDL_Surface *sprite[3]; /* Normal,Normal2, Parachute */ Vector attack_vector; /* Direction where gun is pointed to */