diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/Simulator/Avatar.Update.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/OpenSim.RegionServer/Simulator/Avatar.Update.cs b/OpenSim/OpenSim.RegionServer/Simulator/Avatar.Update.cs index 6f32c85..03da861 100644 --- a/OpenSim/OpenSim.RegionServer/Simulator/Avatar.Update.cs +++ b/OpenSim/OpenSim.RegionServer/Simulator/Avatar.Update.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.RegionServer.Simulator | |||
54 | //use CreateTerseBlock() | 54 | //use CreateTerseBlock() |
55 | ImprovedTerseObjectUpdatePacket.ObjectDataBlock terseBlock = CreateTerseBlock(); | 55 | ImprovedTerseObjectUpdatePacket.ObjectDataBlock terseBlock = CreateTerseBlock(); |
56 | ImprovedTerseObjectUpdatePacket terse = new ImprovedTerseObjectUpdatePacket(); | 56 | ImprovedTerseObjectUpdatePacket terse = new ImprovedTerseObjectUpdatePacket(); |
57 | terse.RegionData.RegionHandle = m_regionHandle; // FIXME | 57 | terse.RegionData.RegionHandle = m_world.m_regInfo.RegionHandle; |
58 | terse.RegionData.TimeDilation = 64096; | 58 | terse.RegionData.TimeDilation = 64096; |
59 | terse.ObjectData = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock[1]; | 59 | terse.ObjectData = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock[1]; |
60 | terse.ObjectData[0] = terseBlock; | 60 | terse.ObjectData[0] = terseBlock; |
@@ -78,7 +78,7 @@ namespace OpenSim.RegionServer.Simulator | |||
78 | //It has been a while since last update was sent so lets send one. | 78 | //It has been a while since last update was sent so lets send one. |
79 | ImprovedTerseObjectUpdatePacket.ObjectDataBlock terseBlock = CreateTerseBlock(); | 79 | ImprovedTerseObjectUpdatePacket.ObjectDataBlock terseBlock = CreateTerseBlock(); |
80 | ImprovedTerseObjectUpdatePacket terse = new ImprovedTerseObjectUpdatePacket(); | 80 | ImprovedTerseObjectUpdatePacket terse = new ImprovedTerseObjectUpdatePacket(); |
81 | terse.RegionData.RegionHandle = m_regionHandle; // FIXME | 81 | terse.RegionData.RegionHandle = m_world.m_regInfo.RegionHandle; |
82 | terse.RegionData.TimeDilation = 64096; | 82 | terse.RegionData.TimeDilation = 64096; |
83 | terse.ObjectData = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock[1]; | 83 | terse.ObjectData = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock[1]; |
84 | terse.ObjectData[0] = terseBlock; | 84 | terse.ObjectData[0] = terseBlock; |
@@ -158,7 +158,7 @@ namespace OpenSim.RegionServer.Simulator | |||
158 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; | 158 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; |
159 | //send a objectupdate packet with information about the clients avatar | 159 | //send a objectupdate packet with information about the clients avatar |
160 | ObjectUpdatePacket objupdate = new ObjectUpdatePacket(); | 160 | ObjectUpdatePacket objupdate = new ObjectUpdatePacket(); |
161 | objupdate.RegionData.RegionHandle = m_regionHandle; | 161 | objupdate.RegionData.RegionHandle = m_world.m_regInfo.RegionHandle; |
162 | objupdate.RegionData.TimeDilation = 64096; | 162 | objupdate.RegionData.TimeDilation = 64096; |
163 | objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[1]; | 163 | objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[1]; |
164 | 164 | ||
@@ -182,7 +182,7 @@ namespace OpenSim.RegionServer.Simulator | |||
182 | //send a objectupdate packet with information about the clients avatar | 182 | //send a objectupdate packet with information about the clients avatar |
183 | 183 | ||
184 | ObjectUpdatePacket objupdate = new ObjectUpdatePacket(); | 184 | ObjectUpdatePacket objupdate = new ObjectUpdatePacket(); |
185 | objupdate.RegionData.RegionHandle = m_regionHandle; | 185 | objupdate.RegionData.RegionHandle = m_world.m_regInfo.RegionHandle; |
186 | objupdate.RegionData.TimeDilation = 64096; | 186 | objupdate.RegionData.TimeDilation = 64096; |
187 | objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[1]; | 187 | objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[1]; |
188 | objupdate.ObjectData[0] = AvatarTemplate; | 188 | objupdate.ObjectData[0] = AvatarTemplate; |