Guard against a strange nullref in ODE
parent
164ed57ad3
commit
6f0e068cf1
|
@ -1099,6 +1099,11 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
// Reset the collision values to false
|
// Reset the collision values to false
|
||||||
// since we don't know if we're colliding yet
|
// 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.IsColliding = false;
|
||||||
chr.CollidingGround = false;
|
chr.CollidingGround = false;
|
||||||
chr.CollidingObj = false;
|
chr.CollidingObj = false;
|
||||||
|
|
Loading…
Reference in New Issue