mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 15:52:30 +00:00
Trigger_hurt
This commit is contained in:
parent
44cda15606
commit
b7e2566a31
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.12 2002/05/11 22:01:41 makro
|
||||||
|
// Trigger_hurt
|
||||||
|
//
|
||||||
// Revision 1.11 2002/05/11 17:59:49 makro
|
// Revision 1.11 2002/05/11 17:59:49 makro
|
||||||
// Trigger_hurt update
|
// Trigger_hurt update
|
||||||
//
|
//
|
||||||
|
@ -424,6 +427,9 @@ void SP_trigger_hurt( gentity_t *self ) {
|
||||||
// link in to the world if starting active
|
// link in to the world if starting active
|
||||||
if ( ! (self->spawnflags & 1) ) {
|
if ( ! (self->spawnflags & 1) ) {
|
||||||
trap_LinkEntity (self);
|
trap_LinkEntity (self);
|
||||||
|
} else {
|
||||||
|
//Makro - added
|
||||||
|
trap_UnlinkEntity (self);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue