diff options
author | Justin Clark-Casey (justincc) | 2013-08-23 00:03:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-23 00:03:47 +0100 |
commit | a0c99a7dccbc625fc2c721da480521019260fc7b (patch) | |
tree | e3d4b4779fff0ada090b4f9a38a1649697a97bfe /OpenSim/Region/ClientStack/Linden | |
parent | Fix a further bug in pCampbot connect where ignoring already connected bots w... (diff) | |
download | opensim-SC_OLD-a0c99a7dccbc625fc2c721da480521019260fc7b.zip opensim-SC_OLD-a0c99a7dccbc625fc2c721da480521019260fc7b.tar.gz opensim-SC_OLD-a0c99a7dccbc625fc2c721da480521019260fc7b.tar.bz2 opensim-SC_OLD-a0c99a7dccbc625fc2c721da480521019260fc7b.tar.xz |
minor: remove mono compiler warning from LLClientView
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 8c51077..1b091bf 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12602,7 +12602,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12602 | { | 12602 | { |
12603 | if (p is ScenePresence) | 12603 | if (p is ScenePresence) |
12604 | { | 12604 | { |
12605 | ScenePresence presence = p as ScenePresence; | ||
12606 | // It turns out to get the agent to stop flying, you have to feed it stop flying velocities | 12605 | // It turns out to get the agent to stop flying, you have to feed it stop flying velocities |
12607 | // There's no explicit message to send the client to tell it to stop flying.. it relies on the | 12606 | // There's no explicit message to send the client to tell it to stop flying.. it relies on the |
12608 | // velocity, collision plane and avatar height | 12607 | // velocity, collision plane and avatar height |
@@ -12610,15 +12609,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12610 | // Add 1/6 the avatar's height to it's position so it doesn't shoot into the air | 12609 | // Add 1/6 the avatar's height to it's position so it doesn't shoot into the air |
12611 | // when the avatar stands up | 12610 | // when the avatar stands up |
12612 | 12611 | ||
12613 | Vector3 pos = presence.AbsolutePosition; | ||
12614 | |||
12615 | ImprovedTerseObjectUpdatePacket.ObjectDataBlock block = | 12612 | ImprovedTerseObjectUpdatePacket.ObjectDataBlock block = |
12616 | CreateImprovedTerseBlock(p, false); | 12613 | CreateImprovedTerseBlock(p, false); |
12617 | 12614 | ||
12618 | const float TIME_DILATION = 1.0f; | 12615 | const float TIME_DILATION = 1.0f; |
12619 | ushort timeDilation = Utils.FloatToUInt16(TIME_DILATION, 0.0f, 1.0f); | 12616 | ushort timeDilation = Utils.FloatToUInt16(TIME_DILATION, 0.0f, 1.0f); |
12620 | 12617 | ||
12621 | |||
12622 | ImprovedTerseObjectUpdatePacket packet | 12618 | ImprovedTerseObjectUpdatePacket packet |
12623 | = (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket( | 12619 | = (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket( |
12624 | PacketType.ImprovedTerseObjectUpdate); | 12620 | PacketType.ImprovedTerseObjectUpdate); |