aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index 1bc4a25..40fbde1 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -1221,7 +1221,10 @@ namespace OpenSim.Region.Physics.OdePlugin
1221 { 1221 {
1222 if (m_eventsubscription > m_requestedUpdateFrequency) 1222 if (m_eventsubscription > m_requestedUpdateFrequency)
1223 { 1223 {
1224 base.SendCollisionUpdate(CollisionEventsThisFrame); 1224 if (CollisionEventsThisFrame != null)
1225 {
1226 base.SendCollisionUpdate(CollisionEventsThisFrame);
1227 }
1225 CollisionEventsThisFrame = new CollisionEventUpdate(); 1228 CollisionEventsThisFrame = new CollisionEventUpdate();
1226 m_eventsubscription = 0; 1229 m_eventsubscription = 0;
1227 } 1230 }