2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 19:07:44 +00:00

CCollisionResponseData: In-class initialize primitives

Avoids needing to give them their own entry within the constructor
initializer list.
This commit is contained in:
Lioncash
2019-10-29 19:43:21 -04:00
parent 156c0e8cd0
commit fff7b90c85
2 changed files with 3 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ bool CCollisionResponseData::CheckAndAddResourceToResponse(FourCC clsId, CInputS
}
CCollisionResponseData::CCollisionResponseData(CInputStream& in, CSimplePool* resPool)
: x0_generators(94), x10_sfx(94, kInvalidSFX), x20_decals(94), x30_RNGE(50.f), x34_FOFF(0.2f) {
: x0_generators(94), x10_sfx(94, kInvalidSFX), x20_decals(94) {
FourCC clsId = CPF::GetClassID(in);
if (clsId == UncookedResType()) {
CRandom16 rand;