From a97c92a13fd98668c89a7a56b5ae7ab9d57ea248 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 21 Jul 2022 23:43:24 +0300 Subject: [PATCH 52/52] Fix unit move animation speed Reported by chippo See osdn #45184 Signed-off-by: Marko Lindqvist --- client/mapview_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mapview_common.c b/client/mapview_common.c index d4b1103788..53aef4937c 100644 --- a/client/mapview_common.c +++ b/client/mapview_common.c @@ -2705,7 +2705,7 @@ void move_unit_map_canvas(struct unit *punit, do { int new_x, new_y; - int asecs = timer_read_seconds(anim_timer); + double asecs = timer_read_seconds(anim_timer); mytime = MIN(asecs, timing_sec); -- 2.35.1