- Replace direct pointer access to Player[] array with array accesses.

This commit is contained in:
Mitchell Richters 2023-10-02 14:19:11 +11:00
parent dbb11eed4d
commit 5d5327c427

View file

@ -250,7 +250,7 @@ int DoActorPickClosePlayer(DSWActor* actor)
goto TARGETACTOR;
// Set initial target to Player 0
actor->user.targetActor = Player->GetActor();
actor->user.targetActor = Player[0].GetActor();
if (actor->user.Flags2 & (SPR2_DONT_TARGET_OWNER))
{