that gravity is not a member of ENTITY problem try to solve with putting this define:
#define gravity skill70



Ubi bene, ibi Patria.