]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
Image_WriteTGARGBA now writes 8 as the attributes byte (which GIMP seems to need...
[xonotic/darkplaces.git] / sv_user.c
index 147a5552d4f1001794df93ce07d1d20e4a64a374..332f725e191e32dc3badda9dc5cfb32bb672c5f1 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -729,7 +729,7 @@ void SV_ReadClientMessage(void)
                        {
                                G_INT(OFS_PARM0) = PR_SetString(s);
                                pr_global_struct->self = EDICT_TO_PROG(host_client->edict);
-                               PR_ExecuteProgram ((func_t)(SV_ParseClientCommandQC - pr_functions), "");
+                               PR_ExecuteProgram ((func_t)(SV_ParseClientCommandQC - pr_functions), "QC function SV_ParseClientCommand is missing");
                        }
                        else if (strncasecmp(s, "status", 6) == 0
                         || strncasecmp(s, "name", 4) == 0
@@ -768,7 +768,7 @@ void SV_ReadClientMessage(void)
                        if (host_client->entitydatabase)
                                EntityFrame_AckFrame(host_client->entitydatabase, num);
                        else if (host_client->entitydatabase4)
-                               EntityFrame4_AckFrame(host_client->entitydatabase4, host_client->entitydatabase4->ackframenum, true);
+                               EntityFrame4_AckFrame(host_client->entitydatabase4, num, true);
                        else if (host_client->entitydatabase5)
                                EntityFrame5_AckFrame(host_client->entitydatabase5, num, host_client - svs.clients + 1);
                        break;
@@ -806,7 +806,7 @@ void SV_RunClients (void)
                        {
                                pr_global_struct->time = sv.time;
                                pr_global_struct->self = EDICT_TO_PROG(sv_player);
-                               PR_ExecuteProgram ((func_t)(SV_PlayerPhysicsQC - pr_functions), "");
+                               PR_ExecuteProgram ((func_t)(SV_PlayerPhysicsQC - pr_functions), "QC function SV_PlayerPhysics is missing");
                        }
                        else
                                SV_ClientThink ();