From 3a8b8f67112182ca60a1a949cd10c51ef4bfca6f Mon Sep 17 00:00:00 2001 From: Bryce Hutchings Date: Mon, 27 May 2002 06:51:20 +0000 Subject: [PATCH] pressure support for targets --- reaction/game/g_misc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reaction/game/g_misc.c b/reaction/game/g_misc.c index 6483aecf..b25a560e 100644 --- a/reaction/game/g_misc.c +++ b/reaction/game/g_misc.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.48 2002/05/27 06:51:20 niceass +// pressure support for targets +// // Revision 1.47 2002/05/26 05:16:56 niceass // pressure // @@ -908,6 +911,8 @@ void SP_func_pressure( gentity_t *ent ) { void G_CreatePressure(vec3_t origin, vec3_t normal, gentity_t *ent) { gentity_t *tent; + G_UseTargets (ent, ent->activator); + tent = G_TempEntity( origin, EV_PRESSURE ); tent->s.eventParm = DirToByte( normal );