slight optimisation

This commit is contained in:
Bill Currie 2003-03-03 21:41:13 +00:00
parent 1c774bc10c
commit c52ce7f202

View file

@ -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);
}
}