From 5b978f4ab7aafd5339af30b6b7cbf310cdd93dd7 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 11 Dec 2008 00:18:47 +0000 Subject: [PATCH] Fixed a recent stupid bug (thanks krimzon) git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3093 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_ents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/sv_ents.c b/engine/server/sv_ents.c index ddf67c709..2284b0037 100644 --- a/engine/server/sv_ents.c +++ b/engine/server/sv_ents.c @@ -293,7 +293,7 @@ void SV_EmitCSQCUpdate(client_t *client, sizebuf_t *msg) csqcmsgbuffer.currentbit = 0; //Ask CSQC to write a buffer for it. G_INT(OFS_PARM0) = EDICT_TO_PROG(svprogfuncs, client->edict); - G_INT(OFS_PARM0) = 0xffffff; //psudo compatibility with SendFlags (fte doesn't support properly) + G_INT(OFS_PARM1) = 0xffffff; //psudo compatibility with SendFlags (fte doesn't support properly) pr_global_struct->self = EDICT_TO_PROG(svprogfuncs, ent); PR_ExecuteProgram(svprogfuncs, ent->xv->SendEntity); if (G_INT(OFS_RETURN)) //0 means not to tell the client about it.