Closed bernarddavis closed 3 years ago
Removing code isn't the correct approach...
The problem is the definition of DetermineAmmoPickup()
is incorrect and clang is catching that.
Instead of inline boolean DetermineAmmoPickup(playertype *pstate, statobj_t *check)
it should be static inline boolean DetermineAmmoPickup(playertype *pstate, statobj_t *check)
I am only able to run make on macOS with the following code removed from rt_playr.c on Mac
The following error occurs when running make:
With the above code commented out I can make and run the game no problem.