mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Replace direct pointer access to Player[]
array with array accesses.
This commit is contained in:
parent
dbb11eed4d
commit
5d5327c427
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue