Code doesn't compile with RESPAWN_HACK enabled on trunk
Bug #336367 reported by
Morgan Jones
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Armagetron Advanced | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Wishlist
|
Manuel Moos |
Bug 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_RespawnPlaye
What it actually looks like: sg_RespawnPlaye
sg_RespawnPlayer is declared as: void sg_RespawnPlaye
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.
Related branches
description: | updated |
To post a comment you must log in.
Yep, the time variable was removed. Adapted the hack.