Activity log for bug #336367

Date Who What changed Old value New value Message
2009-03-01 19:46:51 Morgan Jones bug added bug
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.
2009-03-01 19:50:48 Morgan Jones displayname Bug #336367 Bug #336367 (respawn-hack-nocompile)
2009-03-01 19:50:48 Morgan Jones name respawn-hack-nocompile
2009-03-01 19:50:48 Morgan Jones title Code doesn't compile with RESPAWN_HACK enabled on trunk due to a misused function Code doesn't compile with RESPAWN_HACK enabled on trunk
2009-03-02 15:10:07 Manuel Moos armagetronad: status New Fix Committed
2009-03-02 15:10:07 Manuel Moos armagetronad: assignee z-man
2009-03-02 15:10:07 Manuel Moos armagetronad: importance Undecided Wishlist
2009-03-02 15:10:07 Manuel Moos armagetronad: statusexplanation Yep, the time variable was removed. Adapted the hack.
2009-03-02 15:10:07 Manuel Moos armagetronad: milestone 0.3.2