mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
slight optimisation
This commit is contained in:
parent
1c774bc10c
commit
c52ce7f202
1 changed files with 2 additions and 1 deletions
|
@ -1087,9 +1087,10 @@ PF_WriteBytes (progs_t *pr)
|
|||
MSG_WriteByte (&demo.dbuf->sz, p);
|
||||
}
|
||||
} 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 (WriteDest (pr), p);
|
||||
MSG_WriteByte (msg, p);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue