diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 7ff1f23..a58f88f 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -91,6 +91,8 @@ namespace OpenSim.Region.ClientStack | |||
91 | private readonly uint m_circuitCode; | 91 | private readonly uint m_circuitCode; |
92 | private int m_moneyBalance; | 92 | private int m_moneyBalance; |
93 | 93 | ||
94 | private int m_animationSequenceNumber = 1; | ||
95 | |||
94 | private byte[] m_channelVersion = Helpers.StringToField("OpenSimulator 0.5"); // Dummy value needed by libSL | 96 | private byte[] m_channelVersion = Helpers.StringToField("OpenSimulator 0.5"); // Dummy value needed by libSL |
95 | 97 | ||
96 | /* protected variables */ | 98 | /* protected variables */ |
@@ -302,6 +304,11 @@ namespace OpenSim.Region.ClientStack | |||
302 | get { return m_moneyBalance; } | 304 | get { return m_moneyBalance; } |
303 | } | 305 | } |
304 | 306 | ||
307 | public int NextAnimationSequenceNumber | ||
308 | { | ||
309 | get { return m_animationSequenceNumber++; } | ||
310 | } | ||
311 | |||
305 | /* METHODS */ | 312 | /* METHODS */ |
306 | 313 | ||
307 | public ClientView(EndPoint remoteEP, IScene scene, AssetCache assetCache, PacketServer packServer, | 314 | public ClientView(EndPoint remoteEP, IScene scene, AssetCache assetCache, PacketServer packServer, |
@@ -3429,7 +3436,7 @@ namespace OpenSim.Region.ClientStack | |||
3429 | handlerStartAnim = OnStartAnim; | 3436 | handlerStartAnim = OnStartAnim; |
3430 | if (handlerStartAnim != null) | 3437 | if (handlerStartAnim != null) |
3431 | { | 3438 | { |
3432 | handlerStartAnim(this, AgentAni.AnimationList[i].AnimID, 1); | 3439 | handlerStartAnim(this, AgentAni.AnimationList[i].AnimID); |
3433 | } | 3440 | } |
3434 | } | 3441 | } |
3435 | else | 3442 | else |