2009-03-01 19:50:48 |
Morgan Jones |
description |
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. |
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. The variable time isn't even used in the entire function.
This is on line 2962 of gGame.cpp. |
|