DisposeOpponentPaths matching

This commit is contained in:
Dethrace Labs 2025-10-02 14:08:31 +13:00 committed by Dethrace Engineering Department
parent b33be58cfd
commit 031fd3caff
1 changed files with 2 additions and 1 deletions

View File

@ -2482,11 +2482,12 @@ void DisposeOpponentPaths(void) {
if (gBit_per_node != NULL) {
BrMemFree(gBit_per_node);
}
gBit_per_node = NULL;
gProgram_state.AI_vehicles.number_of_path_nodes = 0;
gProgram_state.AI_vehicles.number_of_path_sections = 0;
gProgram_state.AI_vehicles.path_nodes = NULL;
gProgram_state.AI_vehicles.path_sections = NULL;
gBit_per_node = NULL;
}
// IDA: void __usercall MungeOpponents(tU32 pFrame_period@<EAX>)