diff options
Diffstat (limited to 'src/server/sv_snapshot.c')
-rw-r--r-- | src/server/sv_snapshot.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/server/sv_snapshot.c b/src/server/sv_snapshot.c index 09633eb7..0bde3d51 100644 --- a/src/server/sv_snapshot.c +++ b/src/server/sv_snapshot.c @@ -473,6 +473,12 @@ static void SV_BuildClientSnapshot( client_t *client ) { return; } + if (client->view) + { + client = client->view; + clent = client->gentity; + } + // grab the current playerState_t ps = SV_GameClientNum( client - svs.clients ); frame->ps = *ps; @@ -657,6 +663,9 @@ void SV_SendClientMessages(void) if(!c->state) continue; // not connected + if (c->isPlaceholder) + continue; + if(*c->downloadName) continue; // Client is downloading, don't send snapshots |