Fixed the struct and null compare bug.

This commit is contained in:
MW
2007-06-21 16:18:29 +00:00
parent 596b3690fc
commit dfb22716b9

View File

@@ -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;
}