summaryrefslogtreecommitdiff
path: root/scene/animation/animation_tree_player.cpp
diff options
context:
space:
mode:
authorNoshyaar <poommetee@protonmail.com>2017-12-31 12:37:26 +0700
committerGitHub <noreply@github.com>2017-12-31 12:37:26 +0700
commit548bd4ef1d3528cd77dd8fb77be8de9a5d5d044f (patch)
treef8cd81d00a862b27ff08b30efcca6c8b5af6905b /scene/animation/animation_tree_player.cpp
parent16158d8db79459529a58e01d6f01f24bd851b3f1 (diff)
parent6af109cd9969992045c4fcfade98660fe1a20645 (diff)
Merge pull request #15212 from firefly2442/FloatToBoolean
change float to bool as correct type
Diffstat (limited to 'scene/animation/animation_tree_player.cpp')
-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;