2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-14 12:05:52 +00:00

Merge pull request #196 from lioncash/saveable

CSaveableState: Initialize vectors in the constructor initializer list
This commit is contained in:
Phillip Stephens 2020-03-08 18:03:01 -07:00 committed by GitHub
commit b01fa0c5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,10 +35,7 @@ protected:
EVerticalJustification x84_vjust = EVerticalJustification::Top;
public:
CSaveableState() {
x54_colors.resize(3, zeus::skBlack);
x64_colorOverrides.resize(16);
}
CSaveableState() : x54_colors(3, zeus::skBlack), x64_colorOverrides(16) {}
bool IsFinishedLoading() const;
};