Skip to content

Commit

Permalink
Merge branch 'smarterunstuck' into 'master'
Browse files Browse the repository at this point in the history
Forgot to initialize these variables

See merge request OpenMW/openmw!677
  • Loading branch information
petrmikheev committed Mar 21, 2021
2 parents 78894b6 + e722c99 commit 369adf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/openmw/mwphysics/actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace MWPhysics
Actor::Actor(const MWWorld::Ptr& ptr, const Resource::BulletShape* shape, PhysicsTaskScheduler* scheduler)
: mStandingOnPtr(nullptr), mCanWaterWalk(false), mWalkingOnWater(false)
, mCollisionObject(nullptr), mMeshTranslation(shape->mCollisionBox.center), mHalfExtents(shape->mCollisionBox.extents)
, mStuckFrames(0), mLastStuckPosition{0, 0, 0}
, mForce(0.f, 0.f, 0.f), mOnGround(true), mOnSlope(false)
, mInternalCollisionMode(true)
, mExternalCollisionMode(true)
Expand Down

0 comments on commit 369adf1

Please sign in to comment.