[nq] Fix incorrect handling of argv in PF_WriteBytes

This fixes an illegible server message error on going through a teleport
in the start map (how I noticed the problem). Funnily enough, I had
spotted the mistake when editing the qw version, but forgot to correct
the nq version.
This commit is contained in:
Bill Currie 2022-05-04 22:37:52 +09:00
parent 675c82b47b
commit bbb66e13f8

View file

@ -1139,7 +1139,7 @@ PF_WriteBytes (progs_t *pr, void *data)
}
}
for (i = 0; i < argc; i++) {
p = PR_PTR (float, &argv[i]);
p = PR_PTR (float, argv[i]);
MSG_WriteByte (msg, p);
}
}