aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index b3663b7..d7a6d5b 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -174,9 +174,10 @@ namespace OpenSim.Region.Environment.Scenes
174 174
175 foreach (EntityBase entity in moveEntities) 175 foreach (EntityBase entity in moveEntities)
176 { 176 {
177 if(entity != null)entity.UpdateMovement();
178 //cfk. This throws occaisional exceptions on a heavily used region 177 //cfk. This throws occaisional exceptions on a heavily used region
179 //and I added this null check to try to preclude the exception. 178 //and I added this null check to try to preclude the exception.
179 if (entity != null)
180 entity.UpdateMovement();
180 } 181 }
181 } 182 }
182 183