diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index e67428d..0945bce 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -4918,14 +4918,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4918 | arg.SessionID = x.SessionID; | 4918 | arg.SessionID = x.SessionID; |
4919 | arg.State = x.State; | 4919 | arg.State = x.State; |
4920 | UpdateAgent handlerAgentUpdate = OnAgentUpdate; | 4920 | UpdateAgent handlerAgentUpdate = OnAgentUpdate; |
4921 | UpdateAgent handlerPreAgentUpdate = OnPreAgentUpdate; | ||
4921 | lastarg = arg; // save this set of arguments for nexttime | 4922 | lastarg = arg; // save this set of arguments for nexttime |
4922 | if (handlerAgentUpdate != null) | 4923 | if (handlerPreAgentUpdate != null) |
4923 | { | ||
4924 | OnPreAgentUpdate(this, arg); | 4924 | OnPreAgentUpdate(this, arg); |
4925 | if (handlerAgentUpdate != null) | ||
4925 | OnAgentUpdate(this, arg); | 4926 | OnAgentUpdate(this, arg); |
4926 | } | ||
4927 | 4927 | ||
4928 | handlerAgentUpdate = null; | 4928 | handlerAgentUpdate = null; |
4929 | handlerPreAgentUpdate = null; | ||
4929 | } | 4930 | } |
4930 | } | 4931 | } |
4931 | 4932 | ||