From 6af109cd9969992045c4fcfade98660fe1a20645 Mon Sep 17 00:00:00 2001 From: firefly2442 Date: Sat, 30 Dec 2017 22:14:27 -0700 Subject: [PATCH] change float to bool as correct type --- scene/animation/animation_tree_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index a50047e4266..d110984bbc3 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -556,7 +556,7 @@ float AnimationTreePlayer::_process_node(const StringName &p_node, AnimationNode return _process_node(osn->inputs[0].node, r_prev_anim, p_time, p_seek, p_fallback_weight, p_weights); } - float os_seek = p_seek; + bool os_seek = p_seek; if (p_seek) osn->time = p_time;