mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
fix a misleading var name and make WriteBytes resemble qw's WriteBytes more
closely
This commit is contained in:
parent
ddc44f33da
commit
761831fd15
1 changed files with 5 additions and 4 deletions
|
@ -1054,11 +1054,12 @@ WriteDest (progs_t *pr)
|
|||
static void
|
||||
PF_WriteBytes (progs_t *pr)
|
||||
{
|
||||
int i;
|
||||
int i, p;
|
||||
sizebuf_t *msg = WriteDest (pr);
|
||||
|
||||
for (i = 1; i < pr->pr_argc; i++) {
|
||||
MSG_WriteByte (msg, P_FLOAT (pr, i));
|
||||
p = P_FLOAT (pr, i);
|
||||
MSG_WriteByte (msg, p);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1117,9 +1118,9 @@ PF_WriteAngleV (progs_t *pr)
|
|||
static void
|
||||
PF_WriteCoordV (progs_t *pr)
|
||||
{
|
||||
float *ang = P_VECTOR (pr, 1);
|
||||
float *coord = P_VECTOR (pr, 1);
|
||||
|
||||
MSG_WriteCoordV (WriteDest (pr), ang);
|
||||
MSG_WriteCoordV (WriteDest (pr), coord);
|
||||
}
|
||||
|
||||
// void (float to, string s) WriteString
|
||||
|
|
Loading…
Reference in a new issue