diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index dfefe24..6a22ddb 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -1754,6 +1754,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
1754 | public void ChildAgentDataUpdate(ChildAgentDataUpdate cAgentData, uint tRegionX, uint tRegionY, uint rRegionX, uint rRegionY) | 1754 | public void ChildAgentDataUpdate(ChildAgentDataUpdate cAgentData, uint tRegionX, uint tRegionY, uint rRegionX, uint rRegionY) |
1755 | { | 1755 | { |
1756 | // | 1756 | // |
1757 | if (!IsChildAgent) | ||
1758 | return; | ||
1759 | |||
1757 | int shiftx = ((int)rRegionX - (int)tRegionX) * (int)Constants.RegionSize; | 1760 | int shiftx = ((int)rRegionX - (int)tRegionX) * (int)Constants.RegionSize; |
1758 | int shifty = ((int)rRegionY - (int)tRegionY) * (int)Constants.RegionSize; | 1761 | int shifty = ((int)rRegionY - (int)tRegionY) * (int)Constants.RegionSize; |
1759 | 1762 | ||
@@ -1766,7 +1769,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1766 | 1769 | ||
1767 | 1770 | ||
1768 | m_godlevel = cAgentData.godlevel; | 1771 | m_godlevel = cAgentData.godlevel; |
1769 | SetHeight(cAgentData.AVHeight); | 1772 | m_avHeight = cAgentData.AVHeight; |
1773 | //SetHeight(cAgentData.AVHeight); | ||
1770 | 1774 | ||
1771 | ControllingClient.SetChildAgentThrottle(cAgentData.throttles); | 1775 | ControllingClient.SetChildAgentThrottle(cAgentData.throttles); |
1772 | 1776 | ||