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
broadcast print to everyone on server
bprint(value)
bprint(style, value)
=================
*/
void PF_bprint (void)
{
char *s;
s = PF_VarString(0);
//
float style = G_FLOAT(OFS_PARM0);
char *s = PF_VarString(1);
SV_BroadcastPrintf ("%s", s);
}