aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2018-11-26 01:29:25 +0000
committerUbitUmarov2018-11-26 01:29:25 +0000
commitdc9f0d362751240f24b775ab5a8b5db5599b053f (patch)
treeb13ad29e16c8f5ea618e7241b83369f61c580798 /OpenSim
parentfix ossl severe error (diff)
downloadopensim-SC-dc9f0d362751240f24b775ab5a8b5db5599b053f.zip
opensim-SC-dc9f0d362751240f24b775ab5a8b5db5599b053f.tar.gz
opensim-SC-dc9f0d362751240f24b775ab5a8b5db5599b053f.tar.bz2
opensim-SC-dc9f0d362751240f24b775ab5a8b5db5599b053f.tar.xz
change code feature that old compilers don't suport
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 9feef4f..b0e689c 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -6341,7 +6341,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6341 6341
6342 m_thisAgentUpdateArgs.lastpacketSequence = seq; 6342 m_thisAgentUpdateArgs.lastpacketSequence = seq;
6343 6343
6344 OnPreAgentUpdate?.Invoke(this, m_thisAgentUpdateArgs); 6344 if (OnPreAgentUpdate != null)
6345 OnPreAgentUpdate(this, m_thisAgentUpdateArgs);
6345 6346
6346 bool movement; 6347 bool movement;
6347 bool camera; 6348 bool camera;
@@ -6370,7 +6371,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6370 6371
6371 m_thisAgentUpdateArgs.NeedsCameraCollision = !camera; 6372 m_thisAgentUpdateArgs.NeedsCameraCollision = !camera;
6372 6373
6373 OnAgentUpdate?.Invoke(this, m_thisAgentUpdateArgs); 6374 if (OnAgentUpdate != null)
6375 OnAgentUpdate(this, m_thisAgentUpdateArgs);
6374 } 6376 }
6375 6377
6376 // Was there a significant camera(s) change? 6378 // Was there a significant camera(s) change?
@@ -6383,7 +6385,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6383 6385
6384 m_thisAgentUpdateArgs.NeedsCameraCollision = true; 6386 m_thisAgentUpdateArgs.NeedsCameraCollision = true;
6385 6387
6386 OnAgentCameraUpdate?.Invoke(this, m_thisAgentUpdateArgs); 6388 if (OnAgentCameraUpdate != null)
6389 OnAgentCameraUpdate(this, m_thisAgentUpdateArgs);
6387 } 6390 }
6388 6391
6389 if(movement && camera) 6392 if(movement && camera)