diff options
| author | Ferenc Arn | 2017-01-14 23:34:51 -0600 |
|---|---|---|
| committer | Ferenc Arn | 2017-01-15 19:15:16 -0600 |
| commit | 4c9004671af455a03acb4e2750b12d62b2b3c917 (patch) | |
| tree | 92d254eaaed667d6049918e4ac2acd1104d7f89f /modules/gdscript/gd_functions.cpp | |
| parent | 5dde810aa58d66677afda9cc5c89c052e91348b4 (diff) | |
| download | godot-4c9004671af455a03acb4e2750b12d62b2b3c917.tar.gz godot-4c9004671af455a03acb4e2750b12d62b2b3c917.tar.zst godot-4c9004671af455a03acb4e2750b12d62b2b3c917.zip | |
Diffstat (limited to 'modules/gdscript/gd_functions.cpp')
| -rw-r--r-- | modules/gdscript/gd_functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp index 1c41b2e73..f0da1ea8c 100644 --- a/modules/gdscript/gd_functions.cpp +++ b/modules/gdscript/gd_functions.cpp @@ -351,14 +351,14 @@ void GDFunctions::call(Function p_func,const Variant **p_args,int p_arg_count,Va case MATH_SEED: { VALIDATE_ARG_COUNT(1); VALIDATE_ARG_NUM(0); - uint32_t seed=*p_args[0]; + uint64_t seed=*p_args[0]; Math::seed(seed); r_ret=Variant(); } break; case MATH_RANDSEED: { VALIDATE_ARG_COUNT(1); VALIDATE_ARG_NUM(0); - uint32_t seed=*p_args[0]; + uint64_t seed=*p_args[0]; int ret = Math::rand_from_seed(&seed); Array reta; reta.push_back(ret); |
