Comment 0 for bug 336367

Revision history for this message
Morgan Jones (maclover201) wrote : Code doesn't compile with RESPAWN_HACK enabled on trunk due to a misused function

I enabled RESPAWN_HACK on trunk and it didn't compile. After looking at the code, I figured out that someone passed an extra function parameter to sg_RespawnPlayer.

What it should look like: sg_RespawnPlayer(grid, &arena, p);
What it actually looks like: sg_RespawnPlayer(time, grid, &arena, p);

sg_RespawnPlayer is declared as: void sg_RespawnPlayer(eGrid *grid, gArena *arena, ePlayerNetID *p)

I don't see a REAL time in there.

This is on line 2962 of gGame.cpp.