mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Runtime/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -69,13 +69,13 @@ CWallCrawlerSwarm::CWallCrawlerSwarm(TUniqueId uid, bool active, std::string_vie
|
||||
, x548_numBoids(numBoids)
|
||||
, x54c_maxCreatedBoids(maxCreatedBoids)
|
||||
, x554_maxLaunches(maxLaunches)
|
||||
, x558_flavor(flavor) {
|
||||
, x558_flavor(flavor)
|
||||
, x560_24_enableLighting(true)
|
||||
, x560_25_useSoftwareLight(true)
|
||||
, x560_26_modelAssetDirty(false) {
|
||||
x168_partitionedBoidLists.resize(125);
|
||||
x55c_launchSfx = CSfxManager::TranslateSFXID(launchSfx != -1 ? u16(launchSfx) : u16(0xffff));
|
||||
x55e_scatterSfx = CSfxManager::TranslateSFXID(scatterSfx != -1 ? u16(scatterSfx) : u16(0xffff));
|
||||
x560_24_enableLighting = true;
|
||||
x560_25_useSoftwareLight = true;
|
||||
x560_26_modelAssetDirty = false;
|
||||
CAnimRes attractAnimRes(animRes);
|
||||
attractAnimRes.SetCanLoop(true);
|
||||
attractAnimRes.SetDefaultAnim(attractAnim != -1 ? attractAnim : 0);
|
||||
|
||||
Reference in New Issue
Block a user