movement_animation() : values outside 'int' range
From #47574 reported by alain_bkr:
../../client/mapview_common.c:214:13: runtime error: -nan is outside the range of representable values of type 'int' ../../client/mapview_common.c:215:13: runtime error: -nan is outside the range of representable values of type 'int'
Those lines are: new_x = start_x + anim->movement.canvas_dx * (mytime / timing_sec); new_y = start_y + anim->movement.canvas_dy * (mytime / timing_sec);
See also #42262 : pixman assert failures caused be bad values for the location or the size of the animation area. I've been debugging that a bit now.
From #47574 reported by alain_bkr:
../../client/mapview_common.c:214:13: runtime error: -nan is outside the range of representable values of type 'int'
../../client/mapview_common.c:215:13: runtime error: -nan is outside the range of representable values of type 'int'
Those lines are:
new_x = start_x + anim->movement.canvas_dx * (mytime / timing_sec);
new_y = start_y + anim->movement.canvas_dy * (mytime / timing_sec);