Annotation of ports/graphics/simgear/patches/patch-simgear_scene_sky_cloud_cxx, Revision 1.2
1.1 yason 1: $OpenBSD$
1.2 ! yason 2: --- simgear/scene/sky/cloud.cxx.orig Tue Mar 2 18:14:25 2010
! 3: +++ simgear/scene/sky/cloud.cxx Tue Mar 2 18:15:04 2010
! 4: @@ -695,7 +695,7 @@ bool SGCloudLayer::reposition( const SGVec3f& p, const
1.1 yason 5: // this happens, lets just use the last known good course.
6: // This is a hack, and it would probably be better to make
7: // calc_gc_course_dist() more robust.
8: - if ( isnan(course) ) {
1.2 ! yason 9: + if ( __isnanf(course) ) {
1.1 yason 10: course = last_course;
11: } else {
12: last_course = course;
CVSweb