Guard against a strange nullref in ODE

This commit is contained in:
Melanie Thielker
2008-11-19 20:04:41 +00:00
parent 164ed57ad3
commit 6f0e068cf1

View File

@@ -1099,6 +1099,11 @@ namespace OpenSim.Region.Physics.OdePlugin
// Reset the collision values to false
// since we don't know if we're colliding yet
// For some reason this can happen. Don't ask...
//
if (chr == null)
continue;
chr.IsColliding = false;
chr.CollidingGround = false;
chr.CollidingObj = false;