summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorfirefly2442 <firefly2442@gmail.com>2017-12-30 22:14:27 -0700
committerfirefly2442 <firefly2442@gmail.com>2017-12-30 22:14:27 -0700
commit6af109cd9969992045c4fcfade98660fe1a20645 (patch)
tree8ebeb65d208e5289d4eba2b739fa88b630843586 /scene
parent0294887a0ca1b42f9fddb3858d4ee304b3f4d055 (diff)
change float to bool as correct type
Diffstat (limited to 'scene')
-rw-r--r--scene/animation/animation_tree_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp
index a50047e426..d110984bbc 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;