mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 23:15:43 +00:00
Merge branch 'clang_warning' into 'master'
Fix two -Wreorder clang warnings See merge request OpenMW/openmw!1136
This commit is contained in:
commit
4e0e2fb52f
2 changed files with 2 additions and 2 deletions
|
@ -991,13 +991,13 @@ namespace MWPhysics
|
||||||
, mHalfExtentsZ(actor.getHalfExtents().z())
|
, mHalfExtentsZ(actor.getHalfExtents().z())
|
||||||
, mOldHeight(0)
|
, mOldHeight(0)
|
||||||
, mFallHeight(0)
|
, mFallHeight(0)
|
||||||
|
, mStuckFrames(0)
|
||||||
, mFlying(MWBase::Environment::get().getWorld()->isFlying(actor.getPtr()))
|
, mFlying(MWBase::Environment::get().getWorld()->isFlying(actor.getPtr()))
|
||||||
, mWasOnGround(actor.getOnGround())
|
, mWasOnGround(actor.getOnGround())
|
||||||
, mIsAquatic(actor.getPtr().getClass().isPureWaterCreature(actor.getPtr()))
|
, mIsAquatic(actor.getPtr().getClass().isPureWaterCreature(actor.getPtr()))
|
||||||
, mWaterCollision(waterCollision)
|
, mWaterCollision(waterCollision)
|
||||||
, mSkipCollisionDetection(actor.skipCollisions() || !actor.getCollisionMode())
|
, mSkipCollisionDetection(actor.skipCollisions() || !actor.getCollisionMode())
|
||||||
, mNeedLand(false)
|
, mNeedLand(false)
|
||||||
, mStuckFrames(0)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -228,6 +228,7 @@ namespace Resource
|
||||||
, mApplyLightingToEnvMaps(false)
|
, mApplyLightingToEnvMaps(false)
|
||||||
, mLightingMethod(SceneUtil::LightingMethod::FFP)
|
, mLightingMethod(SceneUtil::LightingMethod::FFP)
|
||||||
, mConvertAlphaTestToAlphaToCoverage(false)
|
, mConvertAlphaTestToAlphaToCoverage(false)
|
||||||
|
, mDepthFormat(0)
|
||||||
, mInstanceCache(new MultiObjectCache)
|
, mInstanceCache(new MultiObjectCache)
|
||||||
, mSharedStateManager(new SharedStateManager)
|
, mSharedStateManager(new SharedStateManager)
|
||||||
, mImageManager(imageManager)
|
, mImageManager(imageManager)
|
||||||
|
@ -237,7 +238,6 @@ namespace Resource
|
||||||
, mMaxAnisotropy(1)
|
, mMaxAnisotropy(1)
|
||||||
, mUnRefImageDataAfterApply(false)
|
, mUnRefImageDataAfterApply(false)
|
||||||
, mParticleSystemMask(~0u)
|
, mParticleSystemMask(~0u)
|
||||||
, mDepthFormat(0)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue