From 430ad75963a0e6837ef460e78fb99565714b4418 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Mon, 9 Aug 2021 17:15:17 -0500 Subject: Some work on double support --- scene/animation/animation_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/animation/animation_player.cpp') diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index 46a8e1c684..5d200ebf86 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -780,7 +780,7 @@ void AnimationPlayer::_animation_process_data(PlaybackData &cd, double p_delta, double delta = p_delta * speed_scale * cd.speed_scale; double next_pos = cd.pos + delta; - float len = cd.from->animation->get_length(); + real_t len = cd.from->animation->get_length(); bool loop = cd.from->animation->has_loop(); if (!loop) { -- cgit v1.2.3