summaryrefslogtreecommitdiff
path: root/modules/visual_script/visual_script_builtin_funcs.cpp
diff options
context:
space:
mode:
authorNico Mitchell <namitc02@louisville.edu>2020-04-14 17:08:22 -0400
committerNico Mitchell <namitc02@louisville.edu>2020-04-14 17:23:35 -0400
commitf7cc2b090cf1e32c7671a35839863d0c5d448715 (patch)
tree49dc9feee5ad8de97d1499b7d7e6e0861251c658 /modules/visual_script/visual_script_builtin_funcs.cpp
parent9db525941f92f8f84928153dd63173513fabd8eb (diff)
Change MATH_POSMOD return type back to INT
Diffstat (limited to 'modules/visual_script/visual_script_builtin_funcs.cpp')
-rw-r--r--modules/visual_script/visual_script_builtin_funcs.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_builtin_funcs.cpp b/modules/visual_script/visual_script_builtin_funcs.cpp
index 2b5a17c36f..bb291b1cb6 100644
--- a/modules/visual_script/visual_script_builtin_funcs.cpp
+++ b/modules/visual_script/visual_script_builtin_funcs.cpp
@@ -506,7 +506,9 @@ PropertyInfo VisualScriptBuiltinFunc::get_output_value_port_info(int p_idx) cons
case MATH_CEIL: {
t = Variant::FLOAT;
} break;
- case MATH_POSMOD:
+ case MATH_POSMOD: {
+ t = Variant::INT;
+ } break;
case MATH_ROUND: {
t = Variant::FLOAT;
} break;