cleaned up member::radius

This commit is contained in:
Azaezel 2018-03-13 15:31:00 -05:00
parent 4615bd6db8
commit 3ceaa0ed50
12 changed files with 18 additions and 18 deletions

View file

@ -348,7 +348,7 @@ bool VolumetricFog::LoadShape()
}
mObjBox = mShape->mBounds;
mRadius = mShape->radius;
mRadius = mShape->mRadius;
resetWorldBox();
if (!isClientObject())
@ -561,7 +561,7 @@ U32 VolumetricFog::packUpdate(NetConnection *con, U32 mask, BitStream *stream)
if (bool(mShape) == false)
return retMask;
mObjBox = mShape->mBounds;
mRadius = mShape->radius;
mRadius = mShape->mRadius;
resetWorldBox();
mObjSize = mWorldBox.getGreatestDiagonalLength();
mObjScale = getScale();