aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMW2007-06-21 16:18:29 +0000
committerMW2007-06-21 16:18:29 +0000
commitdfb22716b95ea31f1e11a8c1bcf055900d238fd2 (patch)
treee58b1f282dd2053e4524e8e773d72eb674e3dc93
parentSome refactoring. (diff)
downloadopensim-SC_OLD-dfb22716b95ea31f1e11a8c1bcf055900d238fd2.zip
opensim-SC_OLD-dfb22716b95ea31f1e11a8c1bcf055900d238fd2.tar.gz
opensim-SC_OLD-dfb22716b95ea31f1e11a8c1bcf055900d238fd2.tar.bz2
opensim-SC_OLD-dfb22716b95ea31f1e11a8c1bcf055900d238fd2.tar.xz
Fixed the struct and null compare bug.
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.API.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
index 98b449d..7a0cbe3 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
@@ -176,7 +176,7 @@ namespace OpenSim
176 mov.Data.RegionHandle = regInfo.RegionHandle; 176 mov.Data.RegionHandle = regInfo.RegionHandle;
177 mov.Data.Timestamp = 1172750370; // TODO - dynamicalise this 177 mov.Data.Timestamp = 1172750370; // TODO - dynamicalise this
178 178
179 if (pos == null) 179 if ((pos.X == 0) && (pos.Y == 0) && (pos.Z == 0))
180 { 180 {
181 mov.Data.Position = this.startpos; 181 mov.Data.Position = this.startpos;
182 } 182 }