summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2020-12-04 09:25:14 -0300
committerGeorge Marques <george@gmarqu.es>2020-12-04 09:47:26 -0300
commit02f60812ed93a570dbf7324856471393db36bb43 (patch)
treeb622e99f60c5263153ed9c0d76af53a1869efc00 /core
parentea7dd1be36abc528f39e7c42725267d01774983b (diff)
downloadredot-engine-02f60812ed93a570dbf7324856471393db36bb43.tar.gz
Rename TYPE_REAL to TYPE_FLOAT
To be consistent with the naming everywhere else.
Diffstat (limited to 'core')
-rw-r--r--core/core_constants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core_constants.cpp b/core/core_constants.cpp
index db22a9ecf6..02055012ad 100644
--- a/core/core_constants.cpp
+++ b/core/core_constants.cpp
@@ -557,7 +557,7 @@ void register_global_constants() {
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_NIL", Variant::NIL);
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_BOOL", Variant::BOOL);
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_INT", Variant::INT);
- BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_REAL", Variant::FLOAT);
+ BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_FLOAT", Variant::FLOAT);
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_STRING", Variant::STRING);
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_VECTOR2", Variant::VECTOR2);
BIND_CORE_ENUM_CONSTANT_CUSTOM("TYPE_VECTOR2I", Variant::VECTOR2I);