mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
oops, didn't notice the lack of {}s
This commit is contained in:
parent
c52ce7f202
commit
da3cac2b6a
2 changed files with 3 additions and 2 deletions
|
@ -629,7 +629,7 @@ SV_WriteEntitiesToClient (client_t *client, sizebuf_t *msg, qboolean recorder)
|
|||
max_packet_entities = MAX_DEMO_PACKET_ENTITIES;
|
||||
|
||||
for (i=0, cl = svs.clients; i<MAX_CLIENTS; i++, cl++) {
|
||||
if (cl->state != cs_spawned)
|
||||
if (cl->state != cs_spawned && cl->state != cs_server)
|
||||
continue;
|
||||
|
||||
if (cl->spectator)
|
||||
|
|
|
@ -1086,12 +1086,13 @@ PF_WriteBytes (progs_t *pr)
|
|||
if (sv.demorecording)
|
||||
MSG_WriteByte (&demo.dbuf->sz, p);
|
||||
}
|
||||
} else
|
||||
} else {
|
||||
sizebuf_t *msg = WriteDest (pr);
|
||||
for (i = 1; i < pr->pr_argc; i++) {
|
||||
p = G_FLOAT (pr, OFS_PARM0 + i * (OFS_PARM1 - OFS_PARM0));
|
||||
MSG_WriteByte (msg, p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue