Fixes for the angle_diff_frame() function.
Authored by: bugman 2008-04-20
Parent: [r5894]
Child: [r5896]