]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
added "QC function <name> is missing" warnings to more PR_ExecuteProgram calls
[xonotic/darkplaces.git] / sv_user.c
index fc0af4582f344507fed1df24e7213321eb7eff91..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
@@ -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 ();