Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyquagsire23 committed Sep 18, 2023
1 parent 6cdab51 commit f730740
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AI/sithAI.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void sithAI_Shutdown()
// Added: Clean reset
sithAI_commandsHashmap = NULL;
sithAI_maxActors = 0;
memset(sithAI_actorInitted, 0, sizeof(sithAI_actorInitted));
_memset(sithAI_actorInitted, 0, sizeof(sithAI_actorInitted));
sithAI_bOpened = 0;
sithAI_bInit = 0;
sithAI_commandList = NULL;
Expand All @@ -142,8 +142,8 @@ void sithAI_Shutdown()
sithAI_dword_84DE74 = 0;

// These are located in a different part of .data?
memset(sithAI_aAlignments, 0, sizeof(sithAI_aAlignments));
memset(sithAI_actors, 0, sizeof(sithAI_actors));
_memset(sithAI_aAlignments, 0, sizeof(sithAI_aAlignments));
_memset(sithAI_actors, 0, sizeof(sithAI_actors));
sithAI_inittedActors = 0;

// This is also in a different part
Expand Down

0 comments on commit f730740

Please sign in to comment.