diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-02-18 00:48:33 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-02-18 00:59:22 +0100 |
commit | bac8e451c056173133d5f0f8c8706749e85bce35 (patch) | |
tree | 55292084f726c168d31a766f154cd65c24234809 /modules/gdscript/gdscript_analyzer.cpp | |
parent | 5b18a81be9736ad7f9824ea615dbe460a741b76c (diff) | |
download | redot-engine-bac8e451c056173133d5f0f8c8706749e85bce35.tar.gz |
Describe usage of float in range documentation
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
-rw-r--r-- | modules/gdscript/gdscript_analyzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_analyzer.cpp b/modules/gdscript/gdscript_analyzer.cpp index 94daba4bf6..5bacfe1604 100644 --- a/modules/gdscript/gdscript_analyzer.cpp +++ b/modules/gdscript/gdscript_analyzer.cpp @@ -1241,7 +1241,7 @@ void GDScriptAnalyzer::resolve_for(GDScriptParser::ForNode *p_for) { bool list_resolved = false; // Optimize constant range() call to not allocate an array. - // Use int, Vector2, Vector3 instead, which also can be used as range iterators. + // Use int, Vector2i, Vector3i instead, which also can be used as range iterators. if (p_for->list && p_for->list->type == GDScriptParser::Node::CALL) { GDScriptParser::CallNode *call = static_cast<GDScriptParser::CallNode *>(p_for->list); GDScriptParser::Node::Type callee_type = call->get_callee_type(); |