Closed Raptor007 closed 1 week ago
It appears ctf 2
was an experiment to allow respawning item pickups in CTF, overriding some of the teamplay behavior that would interfere with that (such as grenade pickup checking for bandolier). Most likely it was never finished, hence the cvar_forceset to prevent trying to use it by mistake.
Closing for now because there's really no issue here.
There are a couple of places that refer to
ctf->value == 2
: https://github.com/Raptor007/aq2-tng/blob/1c5aad1a9dc79c545df4088582b93f2d4058dfc9/source/p_weapon.c#L438 https://github.com/Raptor007/aq2-tng/blob/1c5aad1a9dc79c545df4088582b93f2d4058dfc9/source/p_weapon.c#L390But as far as I can tell, it would never be 2 anymore: https://github.com/Raptor007/aq2-tng/blob/1c5aad1a9dc79c545df4088582b93f2d4058dfc9/source/g_spawn.c#L880
This is just for code cleanup, not to address any bugs that I know of.