mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
fix dedicated server replicating local players
This commit is contained in:
parent
cd3dc63411
commit
eb19af6568
1 changed files with 5 additions and 1 deletions
|
|
@ -4303,7 +4303,11 @@ boolean SV_SpawnServer(void)
|
||||||
|
|
||||||
// strictly speaking, i'm not convinced the following is necessary
|
// strictly speaking, i'm not convinced the following is necessary
|
||||||
// but I'm not confident enough to remove it entirely in case it breaks something
|
// but I'm not confident enough to remove it entirely in case it breaks something
|
||||||
{
|
|
||||||
|
// in a listen server, this sends the local player information to the server so
|
||||||
|
// that the client has players replicated on the server. in dedicated, there is
|
||||||
|
// no local player!
|
||||||
|
if (!dedicated) {
|
||||||
UINT8 *availabilitiesbuffer = R_GetSkinAvailabilities(false, -1);
|
UINT8 *availabilitiesbuffer = R_GetSkinAvailabilities(false, -1);
|
||||||
SINT8 node = 0;
|
SINT8 node = 0;
|
||||||
for (; node < MAXNETNODES; node++)
|
for (; node < MAXNETNODES; node++)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue