mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-27 23:37:20 +00:00
remove initializing constructors from "dumb structs"
As suggested by Marc Zinnschlag: https://github.com/OpenMW/openmw/pull/423#issuecomment-68526701
This commit is contained in:
parent
44e01d0eaa
commit
773669952b
@ -70,23 +70,17 @@ struct Cell
|
|||||||
{
|
{
|
||||||
int mFlags;
|
int mFlags;
|
||||||
int mX, mY;
|
int mX, mY;
|
||||||
|
|
||||||
DATAstruct() : mFlags(0), mX(0), mY(0) {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct AMBIstruct
|
struct AMBIstruct
|
||||||
{
|
{
|
||||||
Color mAmbient, mSunlight, mFog;
|
Color mAmbient, mSunlight, mFog;
|
||||||
float mFogDensity;
|
float mFogDensity;
|
||||||
|
|
||||||
AMBIstruct() : mAmbient(0), mSunlight(0), mFog(0), mFogDensity(0) {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Cell() : mWater(0),
|
Cell() : mWater(0),
|
||||||
mName(""),
|
mName(""),
|
||||||
mRegion(""),
|
mRegion(""),
|
||||||
mData(DATAstruct()),
|
|
||||||
mAmbi(AMBIstruct()),
|
|
||||||
mWaterInt(false),
|
mWaterInt(false),
|
||||||
mMapColor(0),
|
mMapColor(0),
|
||||||
mRefNumCounter(0)
|
mRefNumCounter(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user