From 5688c679140330026b579bbce5f477a735f37c2d Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 21 Jun 2007 15:31:37 +0000 Subject: * Attempted fix for Mono bug. --- OpenSim/OpenSim.RegionServer/ClientView.API.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs index 1895fb9..2365716 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs @@ -176,13 +176,13 @@ namespace OpenSim mov.Data.RegionHandle = regInfo.RegionHandle; // TODO - dynamicalise this stuff mov.Data.Timestamp = 1172750370; - if (pos != null) + if (pos == null) { - mov.Data.Position = pos; + mov.Data.Position = this.startpos; } else { - mov.Data.Position = this.startpos; + mov.Data.Position = pos; } mov.Data.LookAt = look; -- cgit v1.1