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
Robert Adams 2013-04-30 13:10:15 -07:00
parent 3ce198165c
commit 46ae84cfba
1 changed files with 3 additions and 0 deletions

View File

@ -97,6 +97,9 @@ public abstract class BSPhysObject : PhysicsActor
CollisionCollection = new CollisionEventUpdate();
CollisionsLastReported = CollisionCollection;
CollisionsLastTick = new CollisionEventUpdate();
CollisionsLastTickStep = -1;
SubscribedEventsMs = 0;
CollidingStep = 0;
CollidingGroundStep = 0;