From dfb22716b95ea31f1e11a8c1bcf055900d238fd2 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 21 Jun 2007 16:18:29 +0000 Subject: Fixed the struct and null compare bug. --- OpenSim/OpenSim.RegionServer/ClientView.API.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') 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 mov.Data.RegionHandle = regInfo.RegionHandle; mov.Data.Timestamp = 1172750370; // TODO - dynamicalise this - if (pos == null) + if ((pos.X == 0) && (pos.Y == 0) && (pos.Z == 0)) { mov.Data.Position = this.startpos; } -- cgit v1.1