mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
Runtime: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -212,10 +212,12 @@ void CGameOptions::PutTo(CBitStreamWriter& writer) const {
|
||||
writer.WriteEncoded(x68_27_swapBeamsControls, 1);
|
||||
}
|
||||
|
||||
CGameOptions::CGameOptions() {
|
||||
x68_24_hudLag = true;
|
||||
x68_26_rumble = true;
|
||||
x68_28_hintSystem = true;
|
||||
CGameOptions::CGameOptions()
|
||||
: x68_24_hudLag(true)
|
||||
, x68_25_invertY(false)
|
||||
, x68_26_rumble(true)
|
||||
, x68_27_swapBeamsControls(false)
|
||||
, x68_28_hintSystem(true) {
|
||||
InitSoundMode();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user