Fix target finding method so enemies won't turn wildly.
Authored by: utunnels 2007-02-27
Parent: [r541]
Child: [r543]