diff options
author | MW | 2007-06-21 16:18:29 +0000 |
---|---|---|
committer | MW | 2007-06-21 16:18:29 +0000 |
commit | dfb22716b95ea31f1e11a8c1bcf055900d238fd2 (patch) | |
tree | e58b1f282dd2053e4524e8e773d72eb674e3dc93 /OpenSim | |
parent | Some refactoring. (diff) | |
download | opensim-SC-dfb22716b95ea31f1e11a8c1bcf055900d238fd2.zip opensim-SC-dfb22716b95ea31f1e11a8c1bcf055900d238fd2.tar.gz opensim-SC-dfb22716b95ea31f1e11a8c1bcf055900d238fd2.tar.bz2 opensim-SC-dfb22716b95ea31f1e11a8c1bcf055900d238fd2.tar.xz |
Fixed the struct and null compare bug.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView.API.cs | 2 |
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 | } |