summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2022-03-03 13:12:29 +0100
committerGitHub <noreply@github.com>2022-03-03 13:12:29 +0100
commit57838fc0eee8f4137d2074e64f9d90518214e5a8 (patch)
treecd9f924e7e721cb46e6d0dadcf95ade4db6ae0bf /modules/gdscript/gdscript_analyzer.cpp
parentf3bb33978e77a7c0aaaac4e8b67c319b4460ae0e (diff)
parentbac8e451c056173133d5f0f8c8706749e85bce35 (diff)
downloadredot-engine-57838fc0eee8f4137d2074e64f9d90518214e5a8.tar.gz
Merge pull request #58262 from Sauermann/fix-range-doc
Describe usage of float in range documentation
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
-rw-r--r--modules/gdscript/gdscript_analyzer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_analyzer.cpp b/modules/gdscript/gdscript_analyzer.cpp
index 9a79f3d016..204dde4d6a 100644
--- a/modules/gdscript/gdscript_analyzer.cpp
+++ b/modules/gdscript/gdscript_analyzer.cpp
@@ -1251,7 +1251,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();