BulletSim: fix error messages created while an avatar has no initial
collisions. Usually happens when logging in an avatar that had been previously flying. Uninitialized variable.user_profiles
parent
3ce198165c
commit
46ae84cfba
|
@ -97,6 +97,9 @@ public abstract class BSPhysObject : PhysicsActor
|
||||||
|
|
||||||
CollisionCollection = new CollisionEventUpdate();
|
CollisionCollection = new CollisionEventUpdate();
|
||||||
CollisionsLastReported = CollisionCollection;
|
CollisionsLastReported = CollisionCollection;
|
||||||
|
CollisionsLastTick = new CollisionEventUpdate();
|
||||||
|
CollisionsLastTickStep = -1;
|
||||||
|
|
||||||
SubscribedEventsMs = 0;
|
SubscribedEventsMs = 0;
|
||||||
CollidingStep = 0;
|
CollidingStep = 0;
|
||||||
CollidingGroundStep = 0;
|
CollidingGroundStep = 0;
|
||||||
|
|
Loading…
Reference in New Issue