From 4a896430c35141b461efad499b28830dbe6052f5 Mon Sep 17 00:00:00 2001 From: Scott Brooks Date: Sat, 18 May 2002 21:57:54 +0000 Subject: [PATCH] Transmit round start to clients used for cg_rq3_autoaction --- reaction/game/bg_public.h | 7 ++++++- reaction/game/g_teamplay.c | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/reaction/game/bg_public.h b/reaction/game/bg_public.h index 9f42cb16..d53d821d 100644 --- a/reaction/game/bg_public.h +++ b/reaction/game/bg_public.h @@ -5,6 +5,10 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.65 2002/05/18 21:57:54 blaze +// Transmit round start to clients +// used for cg_rq3_autoaction +// // Revision 1.64 2002/05/15 03:43:09 niceass // ssg disarm fix // @@ -264,7 +268,8 @@ enum { SELECTPISTOL, ROUND, MAPEND, - SETWEAPON, + MAPSTART, + SETWEAPON, STUFF, RADIO }; diff --git a/reaction/game/g_teamplay.c b/reaction/game/g_teamplay.c index 0f2fbca4..6ffdd017 100644 --- a/reaction/game/g_teamplay.c +++ b/reaction/game/g_teamplay.c @@ -5,6 +5,10 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.92 2002/05/18 21:57:54 blaze +// Transmit round start to clients +// used for cg_rq3_autoaction +// // Revision 1.91 2002/05/13 06:17:20 jbravo // Ignore fix // @@ -393,6 +397,7 @@ void CheckTeamRules() if (!player->inuse) continue; G_AddEvent (player, EV_RQ3_SOUND, RQ3_SOUND_COUNTDOWN); + trap_SendServerCommand( -1, va("rq3_cmd %i 0", MAPSTART)); } } }