From 8b3c4d90713b5e1c5c8c7d86836207384811a0ae Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 5 Feb 2006 22:53:59 +0000 Subject: [PATCH] Fixed some bug type thingos. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1934 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/pr_cmds.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/engine/server/pr_cmds.c b/engine/server/pr_cmds.c index a4f9543e2..7d3891f6f 100644 --- a/engine/server/pr_cmds.c +++ b/engine/server/pr_cmds.c @@ -2660,6 +2660,8 @@ void PF_ambientsound (progfuncs_t *prinst, struct globalvars_s *pr_globals) return; } + SV_FlushSignon(); + // add an svc_spawnambient command to the level signon packet MSG_WriteByte (&sv.signon,svc_spawnstaticsound); @@ -6342,7 +6344,7 @@ lh_extension_t QSG_Extensions[] = { {"FTE_NPCCHAT", 1, NULL, {"chat"}}, //server looks at chat files. It automagically branches through calling qc functions as requested. #endif {"FTE_QC_CHECKPVS", 1, NULL, {"checkpvs"}}, - {"FTE_QC_MATCHCLIENTNAME", 1, NULL, {"matchclient"}}, + {"FTE_QC_MATCHCLIENTNAME", 1, NULL, {"matchclientname"}}, {"FTE_QC_PAUSED"}, {"FTE_QC_TRACETRIGGER"}, {"FTE_SOLID_LADDER"}, //part of a worthy hl implementation. Allows a simple trigger to remove effects of gravity (solid 20) @@ -9440,6 +9442,9 @@ BuiltinList_t BuiltinList[] = { //nq qw h2 ebfs {"checkpvs", PF_checkpvs, 0, 0, 0, 240}, {"matchclientname", PF_matchclient, 0, 0, 0, 241}, {"sendpacket", PF_SendPacket, 0, 0, 0, 242}, //void(string dest, string content) sendpacket = #242; (FTE_QC_SENDPACKET) +#ifdef PEXT_BULLETENS + {"bulleten", PF_bulleten, 0, 0, 0, 243}, +#endif //end fte extras @@ -9451,7 +9456,7 @@ BuiltinList_t BuiltinList[] = { //nq qw h2 ebfs //DP_QC_FINDCHAIN {"findchain", PF_findchain, 0, 0, 0, 402},// #402 entity(string field, string match) findchain (DP_QC_FINDCHAIN) //DP_QC_FINDCHAINFLOAT - {"findfloatchain", PF_findchainfloat, 0, 0, 0, 403},// #403 entity(float fld, float match) findchainfloat (DP_QC_FINDCHAINFLOAT) + {"findchainfloat", PF_findchainfloat, 0, 0, 0, 403},// #403 entity(float fld, float match) findchainfloat (DP_QC_FINDCHAINFLOAT) //DP_SV_EFFECT {"effect", PF_effect, 0, 0, 0, 404},// #404 void(vector org, string modelname, float startframe, float endframe, float framerate) effect (DP_SV_EFFECT) //DP_TE_BLOOD