bzflag icon indicating copy to clipboard operation
bzflag copied to clipboard

World weapon shots are not colored on radar

Open Ratfink opened this issue 3 years ago • 0 comments

World weapon shots can have a team assigned, and appear team-colored in the 3D view. However, they always appear white in the radar, even when coloredradarshots is set. It would be great if they were colored too.

I've made a simple patch to do this by copying the logic for setting the colors of player shots. I plan to make this patch more DRY and send a pull request, but I'm not sure whether to make it against 2.4 or 2.6. It seems like this change could offer some minor advantage to players when teamkilling is disabled, since it's clearer which shots do or do not need to be dodged. I guess that's an argument for only making this change in 2.6, not 2.4, but I don't know if the advantage would be big enough to matter anyway.

Ratfink avatar Sep 13 '21 01:09 Ratfink