Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix score bonus for defending the flag carrier in CTF
Fix copy-paste error in the original Quake 3 code. The wrong values are used for v1 and v2. v2 was previously set to distance of attacker to flag base; which should be handled already. The game now gives defense score bonus to player when they frag an enemy near their team's flag carrier while the player is more than 1000 units from the flag carrier. This may also fix not giving defense bonus when near carrier due to checking if carrier and enemy (instead of attacker) are in PVS. Found by @Razish.
- Loading branch information