Merge pull request #26023 from RomanAkberov/quat-equals

C#: fix Quat.Equals.
This commit is contained in:
Ignacio Etcheverry 2019-02-18 19:39:50 +01:00 committed by GitHub
commit 07498d313c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;