You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Remove some unnecessary booleans
Co-authored-by: HolonProduction <holonproduction@gmail.com>
This commit is contained in:
@@ -575,7 +575,7 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a
|
||||
|
||||
const int non_vararg_arg_count = MIN(p_argcount, _argument_count);
|
||||
for (int i = 0; i < non_vararg_arg_count; i++) {
|
||||
if (!argument_types[i].has_type) {
|
||||
if (!argument_types[i].has_type()) {
|
||||
memnew_placement(&stack[i + FIXED_ADDRESSES_MAX], Variant(*p_args[i]));
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user