mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +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
@ -991,13 +991,13 @@ namespace MWPhysics
|
||||
, mHalfExtentsZ(actor.getHalfExtents().z())
|
||||
, mOldHeight(0)
|
||||
, mFallHeight(0)
|
||||
, mStuckFrames(0)
|
||||
, mFlying(MWBase::Environment::get().getWorld()->isFlying(actor.getPtr()))
|
||||
, mWasOnGround(actor.getOnGround())
|
||||
, mIsAquatic(actor.getPtr().getClass().isPureWaterCreature(actor.getPtr()))
|
||||
, mWaterCollision(waterCollision)
|
||||
, mSkipCollisionDetection(actor.skipCollisions() || !actor.getCollisionMode())
|
||||
, mNeedLand(false)
|
||||
, mStuckFrames(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -228,6 +228,7 @@ namespace Resource
|
||||
, mApplyLightingToEnvMaps(false)
|
||||
, mLightingMethod(SceneUtil::LightingMethod::FFP)
|
||||
, mConvertAlphaTestToAlphaToCoverage(false)
|
||||
, mDepthFormat(0)
|
||||
, mInstanceCache(new MultiObjectCache)
|
||||
, mSharedStateManager(new SharedStateManager)
|
||||
, mImageManager(imageManager)
|
||||
@ -237,7 +238,6 @@ namespace Resource
|
||||
, mMaxAnisotropy(1)
|
||||
, mUnRefImageDataAfterApply(false)
|
||||
, mParticleSystemMask(~0u)
|
||||
, mDepthFormat(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user