Help with p_map.c

Status
Not open for further replies.

Kaysakado

Member
I am getting an error about player not being defined with this line:
Code:
if (player->pflags & PF_BOUNCE)
in p_map.c. I'm pretty sure the solution is as simple as #including something, but I don't know what.
 
There is no global variable called "player" (think about it for a moment: which player?). Without knowing the context, I can't tell what the solution is, but most likely you either want to pass in the player as an argument to the function you're writing, or else you want to iterate over all players.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top