mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: only set bits corresponding to polygroup in traverse table
The table is fully nulled when allocated, resetting bits is not necessary.
This commit is contained in:
parent
64de9f6a48
commit
ce14f2a150
@ -318,8 +318,6 @@ static void setPolyGroupsTraversalReachability(int* const tableData, const int n
|
||||
|
||||
if (isReachable)
|
||||
tableData[index] |= value;
|
||||
else
|
||||
tableData[index] &= ~value;
|
||||
}
|
||||
|
||||
static void unionTraverseLinkedPolyGroups(const dtTraverseTableCreateParams* params, const int tableIndex)
|
||||
|
Loading…
x
Reference in New Issue
Block a user