Rename built-in SGN() macro to SIGN()
This matches the name of the GDScript function (except it's uppercase here).
This commit is contained in:
parent
5045f46a5c
commit
8fb7e622a6
18 changed files with 34 additions and 34 deletions
|
|
@ -260,7 +260,7 @@ void InputEventConfigurationDialog::_listen_window_input(const Ref<InputEvent> &
|
|||
return;
|
||||
} else {
|
||||
// Always make the value 1 or -1 for display consistency
|
||||
joym->set_axis_value(SGN(axis_value));
|
||||
joym->set_axis_value(SIGN(axis_value));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue