mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix checking the flags for all races and genders for specific IDs in shapes/attributes.
This commit is contained in:
parent
ff2a9f95c4
commit
74bd1cf911
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ public sealed class ShapeAttributeHashSet : Dictionary<(HumanSlot Slot, PrimaryI
|
|||
private bool ContainsEntry(HumanSlot slot, PrimaryId id, GenderRace genderRace)
|
||||
=> GenderRaceIndices.TryGetValue(genderRace, out var index)
|
||||
&& TryGetValue((slot, id), out var flags)
|
||||
&& (flags & (1ul << index)) is not 0;
|
||||
&& ((flags & 1ul) is not 0 || (flags & (1ul << index)) is not 0);
|
||||
|
||||
public bool TrySet(HumanSlot slot, PrimaryId? id, GenderRace genderRace, bool value)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue