Fix bprint not reading OFS_PARM0

This commit is contained in:
Ian 2023-02-27 10:38:01 -05:00 committed by GitHub
parent d41d664644
commit 84835d334a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,17 +277,15 @@ void PF_setmodel (void)
/* /*
================= =================
PF_bprint PF_bprint
broadcast print to everyone on server broadcast print to everyone on server
bprint(style, value)
bprint(value)
================= =================
*/ */
void PF_bprint (void) void PF_bprint (void)
{ {
char *s; //
float style = G_FLOAT(OFS_PARM0);
s = PF_VarString(0); char *s = PF_VarString(1);
SV_BroadcastPrintf ("%s", s); SV_BroadcastPrintf ("%s", s);
} }