Recast: fix bug caused by incorrect representation of microlut

TITAN and GOLIATH had a small typo in their microluts, causing the lookup to be incorrect. Decimal 30 has bit 1 2 3 and 4 set, TITAN and GOLIATH could only use bit 4 and 5 which is what 30 in hex represents. This caused traverse types of type 1 2 and 3 to appear in TITAN and GOLIATH navmeshes.
This commit is contained in:
Kawe Mazidjatari 2024-11-14 02:45:29 +01:00
parent c0a451f90d
commit 93588edca5

View File

@ -80,8 +80,8 @@ static void initTraverseMasks()
s_traverseAnimTraverseFlags[ANIMTYPE_PILOT] = 0x0008013F;
s_traverseAnimTraverseFlags[ANIMTYPE_PROWLER] = 0x00033FB7;
s_traverseAnimTraverseFlags[ANIMTYPE_SUPER_SPECTRE] = 0x00033FB2;
s_traverseAnimTraverseFlags[ANIMTYPE_TITAN] = 0000000030;
s_traverseAnimTraverseFlags[ANIMTYPE_GOLIATH] = 0000000030; // TODO: figure out all the activities GOLIATH has.
s_traverseAnimTraverseFlags[ANIMTYPE_TITAN] = 0x00000030;
s_traverseAnimTraverseFlags[ANIMTYPE_GOLIATH] = 0x00000030; // TODO: figure out all the activities GOLIATH has.
}
TraverseType_s s_traverseTable[NUM_TRAVERSE_TYPES];