mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix mindelay wpnpref not being applied on join
This commit is contained in:
parent
fc4a2e9f80
commit
d69e667835
1 changed files with 6 additions and 6 deletions
|
|
@ -3811,6 +3811,12 @@ static void Got_AddPlayer(const UINT8 **p, INT32 playernum)
|
|||
newplayer->availabilities[i] = READUINT8(*p);
|
||||
}
|
||||
|
||||
if (server)
|
||||
{
|
||||
for (i = 0; i < G_LocalSplitscreenPartySize(newplayernum); ++i)
|
||||
playerdelaytable[G_LocalSplitscreenPartyMember(newplayernum, i)] = mindelay;
|
||||
}
|
||||
|
||||
// the server is creating my player
|
||||
if (node == mynode)
|
||||
{
|
||||
|
|
@ -3838,12 +3844,6 @@ static void Got_AddPlayer(const UINT8 **p, INT32 playernum)
|
|||
|
||||
P_ForceLocalAngle(newplayer, newplayer->angleturn);
|
||||
addedtogame = true;
|
||||
|
||||
if (server)
|
||||
{
|
||||
for (i = 0; i < G_LocalSplitscreenPartySize(newplayernum); ++i)
|
||||
playerdelaytable[G_LocalSplitscreenPartyMember(newplayernum, i)] = mindelay;
|
||||
}
|
||||
}
|
||||
|
||||
newplayer->splitscreenindex = splitscreenplayer;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue