From 041a7bbeba0162138f69d38abe5ceba80641c854 Mon Sep 17 00:00:00 2001 From: RomanAkberov Date: Tue, 19 Feb 2019 01:01:05 +0700 Subject: [PATCH] C#: fix Quat.Equals. --- modules/mono/glue/Managed/Files/Quat.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mono/glue/Managed/Files/Quat.cs b/modules/mono/glue/Managed/Files/Quat.cs index fd1ac010831..d4dcff583a8 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;