mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers where applicable.
This commit is contained in:
@@ -69,10 +69,7 @@ CWallCrawlerSwarm::CWallCrawlerSwarm(TUniqueId uid, bool active, std::string_vie
|
||||
, x548_numBoids(numBoids)
|
||||
, x54c_maxCreatedBoids(maxCreatedBoids)
|
||||
, x554_maxLaunches(maxLaunches)
|
||||
, x558_flavor(flavor)
|
||||
, x560_24_enableLighting(true)
|
||||
, x560_25_useSoftwareLight(true)
|
||||
, x560_26_modelAssetDirty(false) {
|
||||
, x558_flavor(flavor) {
|
||||
x168_partitionedBoidLists.resize(125);
|
||||
x55c_launchSfx = CSfxManager::TranslateSFXID(launchSfx != -1 ? u16(launchSfx) : u16(0xffff));
|
||||
x55e_scatterSfx = CSfxManager::TranslateSFXID(scatterSfx != -1 ? u16(scatterSfx) : u16(0xffff));
|
||||
|
||||
Reference in New Issue
Block a user