Fixed the struct and null compare bug.

Sugilite
MW 2007-06-21 16:18:29 +00:00
parent 596b3690fc
commit dfb22716b9
1 changed files with 1 additions and 1 deletions

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