mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #196 from lioncash/saveable
CSaveableState: Initialize vectors in the constructor initializer list
This commit is contained in:
commit
b01fa0c5bf
|
@ -35,10 +35,7 @@ protected:
|
||||||
EVerticalJustification x84_vjust = EVerticalJustification::Top;
|
EVerticalJustification x84_vjust = EVerticalJustification::Top;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CSaveableState() {
|
CSaveableState() : x54_colors(3, zeus::skBlack), x64_colorOverrides(16) {}
|
||||||
x54_colors.resize(3, zeus::skBlack);
|
|
||||||
x64_colorOverrides.resize(16);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IsFinishedLoading() const;
|
bool IsFinishedLoading() const;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue