diff options
author | John Hurliman | 2009-10-20 10:56:15 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-20 10:56:15 -0700 |
commit | 8151190a45b98645efb06ea28b1758ffbc75cf7e (patch) | |
tree | 86413fe5a407a6ce24337a23148c7eb816eed792 /OpenSim/Framework/Location.cs | |
parent | * Removing cruft left over from the conversion to the new texture sending and... (diff) | |
download | opensim-SC_OLD-8151190a45b98645efb06ea28b1758ffbc75cf7e.zip opensim-SC_OLD-8151190a45b98645efb06ea28b1758ffbc75cf7e.tar.gz opensim-SC_OLD-8151190a45b98645efb06ea28b1758ffbc75cf7e.tar.bz2 opensim-SC_OLD-8151190a45b98645efb06ea28b1758ffbc75cf7e.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Framework/Location.cs')
-rw-r--r-- | OpenSim/Framework/Location.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Location.cs b/OpenSim/Framework/Location.cs index 62ab5c7..9504e03 100644 --- a/OpenSim/Framework/Location.cs +++ b/OpenSim/Framework/Location.cs | |||
@@ -98,7 +98,7 @@ namespace OpenSim.Framework | |||
98 | 98 | ||
99 | public override int GetHashCode() | 99 | public override int GetHashCode() |
100 | { | 100 | { |
101 | return X.GetHashCode() * 29 + Y.GetHashCode(); | 101 | return X.GetHashCode() ^ Y.GetHashCode(); |
102 | } | 102 | } |
103 | 103 | ||
104 | public object Clone() | 104 | public object Clone() |