mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 00:34:32 +00:00
P_IsLocalPlayer: Fix returning whether consoleplayer was in consoleplayer's party (ie, always true) instead of actual requested player.
Fixes replacement music applying when bots use powerup items.
This commit is contained in:
parent
0774cd2c80
commit
b2969af84f
1 changed files with 1 additions and 1 deletions
|
|
@ -1157,7 +1157,7 @@ boolean P_IsLocalPlayer(player_t *player)
|
|||
return false;
|
||||
|
||||
// handles both online parties and local players (no need to call P_IsMachineLocalPlayer here)
|
||||
return G_IsPartyLocal(consoleplayer);
|
||||
return G_IsPartyLocal(player-players);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue