]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - protocol.c
Update extension description to prefer "ent" as the parameter name over "e"
[xonotic/darkplaces.git] / protocol.c
index bdeebdd5763cd16426131b3bea446bb372a87d14..f4fcb50c750378e9c359236d1f65df7b65f534ef 100644 (file)
@@ -545,6 +545,8 @@ qboolean EntityFrameCSQC_WriteFrame (sizebuf_t *msg, int maxsize, int numnumbers
                                        msg->allowoverflow = true;
                                        PRVM_G_INT(OFS_PARM0) = sv.writeentitiestoclient_cliententitynumber;
                                        PRVM_G_FLOAT(OFS_PARM1) = sendflags;
+                                       // optional entity parameter for self (EXT_ENTITYPARAM)
+                                       PRVM_G_INT(OFS_PARM2) = number;
                                        PRVM_serverglobaledict(self) = number;
                                        prog->ExecuteProgram(prog, PRVM_serveredictfunction(ed, SendEntity), "Null SendEntity\n");
                                        msg->allowoverflow = false;