mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Removing ODEPrim and ODECharacter GetHashCode() overrides since they were based on something that could change
* Tweaked a few other GetHashCode() overrides to bring them in line with MSDN recommendations
This commit is contained in:
@@ -98,7 +98,7 @@ namespace OpenSim.Framework
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return X.GetHashCode() * 29 + Y.GetHashCode();
|
||||
return X.GetHashCode() ^ Y.GetHashCode();
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
|
||||
Reference in New Issue
Block a user