decompiler: fix secret-disable form in defskelgroup detection (#3713)
Some checks failed
Build / 🖥️ Windows (push) Waiting to run
Build / 🐧 Linux (push) Waiting to run
Build / 🍎 MacOS (push) Waiting to run
Lint / 📝 Formatting (push) Waiting to run
Lint / 📝 Required Checks (push) Waiting to run
Lint / 📝 Optional Checks (push) Waiting to run
Inform Pages Repo / Generate Documentation (push) Has been cancelled
Update Controller Database / update-controller-db (push) Has been cancelled

This commit is contained in:
Hat Kid 2024-10-14 02:07:08 +02:00 committed by GitHub
parent a7a7110550
commit c623190bff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -3175,7 +3175,7 @@ goos::Object DefskelgroupElement::ClothParams::to_list(const std::string& ag_nam
pretty_print::to_symbol(std::to_string(timestep_freq))}));
}
if (secret != 0) {
auto bits = decompile_bitfield_enum_from_int(TypeSpec("game-secrets"), env.dts->ts, flags);
auto bits = decompile_bitfield_enum_from_int(TypeSpec("game-secrets"), env.dts->ts, secret);
result.push_back(pretty_print::build_list(
{pretty_print::to_symbol("secret-disable"),
pretty_print::to_symbol(fmt::format("(game-secrets {})", fmt::join(bits, " ")))}));

View File

@ -469,7 +469,7 @@
(drag 0.151)
(num-iterations 1)
(timestep-frequency 7)
(secret-disable (game-secrets scene-player-1 scene-player-3))
(secret-disable (game-secrets kleever-diaper))
)
((mesh kleever-highres-kleever-R1-cg)
(gravity-constant (meters 24))
@ -484,7 +484,7 @@
(drag 0.151)
(num-iterations 1)
(timestep-frequency 7)
(secret-disable (game-secrets scene-player-1 scene-player-3))
(secret-disable (game-secrets kleever-diaper))
)
((mesh kleever-highres-kleever-Center-cg)
(gravity-constant (meters 24))
@ -499,7 +499,7 @@
(drag 0.151)
(num-iterations 1)
(timestep-frequency 7)
(secret-disable (game-secrets scene-player-1 scene-player-3))
(secret-disable (game-secrets kleever-diaper))
)
((mesh kleever-highres-kleever-L2-cg)
(gravity-constant (meters 12))
@ -514,7 +514,7 @@
(drag 0.151)
(num-iterations 1)
(timestep-frequency 7)
(secret-disable (game-secrets scene-player-1 scene-player-3))
(secret-disable (game-secrets kleever-diaper))
)
((mesh kleever-highres-kleever-R2-cg)
(gravity-constant (meters 12))
@ -529,7 +529,7 @@
(drag 0.151)
(num-iterations 1)
(timestep-frequency 7)
(secret-disable (game-secrets scene-player-1 scene-player-3))
(secret-disable (game-secrets kleever-diaper))
)
)
)