I've tracked down a few possible suspects, and they look like they're a couple of original functions from when

had messed with it.
My main concern is that the new code might mess with the secondaries when they're pursuing a target...
What I want to do is apply the code only to the pilot's radar (both the player and the ai's). I don't know if the secondaries use the ship's radar when locking on, but if so, I think that it would be perfectly acceptable. However it would be a problem if they used their own radar.
In other words, I'm going to have to sift through the code some more. (Thank goodness for graphvis and doxygen!)