aboutsummaryrefslogtreecommitdiff
path: root/scene/animation/tween.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-05-01 10:44:08 -0300
committerJuan Linietsky2015-05-01 10:44:08 -0300
commit4804462ee06c1b3e2d1b50b857ce8693d3c0936d (patch)
tree5d1d06399c5ce28f27253943f35ef4a11d3ac633 /scene/animation/tween.cpp
parentaf42e244e0c41c92b6eeab379f7ba68869dbd0a9 (diff)
downloadgodot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.tar.gz
godot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.tar.zst
godot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.zip
Diffstat (limited to 'scene/animation/tween.cpp')
-rw-r--r--scene/animation/tween.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp
index ffa1c09ab..a7a4129a5 100644
--- a/scene/animation/tween.cpp
+++ b/scene/animation/tween.cpp
@@ -269,7 +269,7 @@ Variant Tween::_run_equation(InterpolateData& p_data) {
{
case Variant::BOOL:
- result = ((int) _run_equation(p_data.trans_type, p_data.ease_type, p_data.elapsed - p_data.delay, (int) initial_val, (int) delta_val, p_data.times_in_sec)) >= 0.5;
+ result = ( _run_equation(p_data.trans_type, p_data.ease_type, p_data.elapsed - p_data.delay, initial_val, delta_val, p_data.times_in_sec)) >= 0.5;
break;
case Variant::INT: