diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-10-16 01:22:57 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-16 20:40:49 +0100 |
commit | 8fb7e622a6a4d6651442764e4e22e000f455f77b (patch) | |
tree | c0a47367d1778fb3903be27067ad0c3731e76668 /editor | |
parent | 5045f46a5c384d83504be3d0cf101e403700b1e3 (diff) |
Rename built-in `SGN()` macro to `SIGN()`
This matches the name of the GDScript function (except it's uppercase
here).
Diffstat (limited to 'editor')
-rw-r--r-- | editor/action_map_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/action_map_editor.cpp b/editor/action_map_editor.cpp index 9581c3cd45..3ca3576de6 100644 --- a/editor/action_map_editor.cpp +++ b/editor/action_map_editor.cpp @@ -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)); } } |