pressure support for targets

This commit is contained in:
Bryce Hutchings 2002-05-27 06:51:20 +00:00
parent 02889c89ba
commit 3a8b8f6711
1 changed files with 5 additions and 0 deletions

View File

@ -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 );