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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user