VICTORY_HAIR=0 leaves the hair strands out, as unset does (#59) #75

Closed
github-bot wants to merge 0 commits from github-bot/gh-75 into main AGit
Owner

@⁠Hasusmogus on GitHub · 2026-11-27 08:41 UTC · original
Hasusmogus:fix-59-hair → main · +24 −2 · 1 files · 1 commits · closed without merging

Fixes #59's hair part.

hair_strands asked only whether VICTORY_HAIR was set (var_os(..).is_some()), so VICTORY_HAIR=0 ran the 18 hair-strand programs (and the others on that list, CS_ProjDecalCut and CS_CullMaskPass among them), the same as =1. As @⁠steven-seagull27 found, any value turned them on.

Now an empty value, 0, off, false and no leave them out, as unset does; any other value runs them. A unit test covers both lists.

Checked: cargo clippy -p victory-gpu --all-targets -- -D warnings clean; the test passes (under Wine).

🤖 Generated with Claude Code

**@⁠Hasusmogus** on GitHub · 2026-11-27 08:41 UTC · [original](https://github.com/DoubleGhosty/cool_fox/pull/75) `Hasusmogus:fix-59-hair` → `main` · +24 −2 · 1 files · 1 commits · closed without merging Fixes #59's hair part. `hair_strands` asked only whether `VICTORY_HAIR` was set (`var_os(..).is_some()`), so `VICTORY_HAIR=0` ran the 18 hair-strand programs (and the others on that list, `CS_ProjDecalCut` and `CS_CullMaskPass` among them), the same as `=1`. As @⁠steven-seagull27 found, any value turned them on. Now an empty value, `0`, `off`, `false` and `no` leave them out, as unset does; any other value runs them. A unit test covers both lists. Checked: `cargo clippy -p victory-gpu --all-targets -- -D warnings` clean; the test passes (under Wine). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Only whether the variable was set was asked, so VICTORY_HAIR=0 (and =1
alike) ran the 18 hair-strand programs and the others of that list. Now
an empty value, 0, off, false and no leave them out; any other runs them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 08:45:33 +00:00
github-bot closed this pull request 2026-11-27 08:56:25 +00:00
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-27 08:53 UTC · original

Cherry-picked into main as 4a6b4a2d. Thanks!

**@⁠DoubleGhosty** on GitHub · 2026-11-27 08:53 UTC · [original](https://github.com/DoubleGhosty/cool_fox/pull/75#issuecomment-7214044087) Cherry-picked into main as 4a6b4a2d. Thanks!

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.