diff options
author | Diva Canto | 2014-06-21 15:38:38 -0700 |
---|---|---|
committer | Justin Clark-Casey | 2014-08-02 00:49:43 +0100 |
commit | 025ac85a46834e303c42cbed146860b28265c7ef (patch) | |
tree | fa72219195d11f7dbc943b50754a5af375c3f29b /OpenSim/Region/ClientStack/Linden/UDP | |
parent | BulletSim: add some locking for collision lists to prevent collsions (diff) | |
download | opensim-SC_OLD-025ac85a46834e303c42cbed146860b28265c7ef.zip opensim-SC_OLD-025ac85a46834e303c42cbed146860b28265c7ef.tar.gz opensim-SC_OLD-025ac85a46834e303c42cbed146860b28265c7ef.tar.bz2 opensim-SC_OLD-025ac85a46834e303c42cbed146860b28265c7ef.tar.xz |
Bug fix in map teleports in varregions. The cherry was missing from the ice-cream Sunday: the packet itself was hardcoding the size of the region...
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index c28e58d..196f19e 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -1467,10 +1467,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1467 | mapReply.Data[i].Access = mapBlocks2[i].Access; | 1467 | mapReply.Data[i].Access = mapBlocks2[i].Access; |
1468 | mapReply.Data[i].Agents = mapBlocks2[i].Agents; | 1468 | mapReply.Data[i].Agents = mapBlocks2[i].Agents; |
1469 | 1469 | ||
1470 | // TODO: hookup varregion sim size here | ||
1471 | mapReply.Size[i] = new MapBlockReplyPacket.SizeBlock(); | 1470 | mapReply.Size[i] = new MapBlockReplyPacket.SizeBlock(); |
1472 | mapReply.Size[i].SizeX = 256; | 1471 | mapReply.Size[i].SizeX = mapBlocks2[i].SizeX; |
1473 | mapReply.Size[i].SizeY = 256; | 1472 | mapReply.Size[i].SizeY = mapBlocks2[i].SizeY; |
1474 | } | 1473 | } |
1475 | OutPacket(mapReply, ThrottleOutPacketType.Land); | 1474 | OutPacket(mapReply, ThrottleOutPacketType.Land); |
1476 | } | 1475 | } |