From 6fa4bce2de6c8ae3a6cfe43bfe839e094f689147 Mon Sep 17 00:00:00 2001 From: i-need-to-tell-you-something Date: Fri, 29 Dec 2017 22:26:26 +0200 Subject: [PATCH] Update gdscript_advanced.rst Fix 2 typos. --- learning/scripting/gdscript/gdscript_advanced.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/learning/scripting/gdscript/gdscript_advanced.rst b/learning/scripting/gdscript/gdscript_advanced.rst index 109ec9207..46129f549 100644 --- a/learning/scripting/gdscript/gdscript_advanced.rst +++ b/learning/scripting/gdscript/gdscript_advanced.rst @@ -107,7 +107,7 @@ Pointers & referencing: In static languages such as C or C++ (and to some extent Java and C#), there is a distinction between a variable and a pointer/reference to a -variable. The later allows the object to be modified by other functions +variable. The latter allows the object to be modified by other functions by passing a reference to the original one. In C# or Java, everything not a built-in type (int, float, sometimes @@ -293,7 +293,7 @@ easily with dictionaries. Here's a simple battleship game example: Dictionaries can also be used as data markup or quick structures. While GDScript dictionaries resemble python dictionaries, it also supports Lua -style syntax an indexing, which makes it very useful for writing initial +style syntax and indexing, which makes it very useful for writing initial states and quick structs: ::