summaryrefslogtreecommitdiff
path: root/modules/mono/glue/Managed
diff options
context:
space:
mode:
authorIgnacio Etcheverry <neikeq@users.noreply.github.com>2019-02-18 19:39:50 +0100
committerGitHub <noreply@github.com>2019-02-18 19:39:50 +0100
commit07498d313c45f54b0a7c6c0b23e635bddf6f0523 (patch)
treeb1bca70a8f84a445289acfafea8d24e3b91cbdf2 /modules/mono/glue/Managed
parent049bb75f9e9472fc5a46424412bc193e689ddf63 (diff)
parent041a7bbeba0162138f69d38abe5ceba80641c854 (diff)
Merge pull request #26023 from RomanAkberov/quat-equals
C#: fix Quat.Equals.
Diffstat (limited to 'modules/mono/glue/Managed')
-rw-r--r--modules/mono/glue/Managed/Files/Quat.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/glue/Managed/Files/Quat.cs b/modules/mono/glue/Managed/Files/Quat.cs
index fd1ac01083..d4dcff583a 100644
--- a/modules/mono/glue/Managed/Files/Quat.cs
+++ b/modules/mono/glue/Managed/Files/Quat.cs
@@ -347,9 +347,9 @@ namespace Godot
public override bool Equals(object obj)
{
- if (obj is Vector2)
+ if (obj is Quat)
{
- return Equals((Vector2)obj);
+ return Equals((Quat)obj);
}
return false;