mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-31 13:50:55 +00:00
small change to kevlar detection
This commit is contained in:
parent
f526b2ba14
commit
0f0550ec44
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.105 2002/06/29 20:57:25 niceass
|
||||||
|
// small change to kevlar detection
|
||||||
|
//
|
||||||
// Revision 1.104 2002/06/24 05:51:51 jbravo
|
// Revision 1.104 2002/06/24 05:51:51 jbravo
|
||||||
// CTF mode is now semi working
|
// CTF mode is now semi working
|
||||||
//
|
//
|
||||||
|
@ -1813,6 +1816,9 @@ void G_Damage(gentity_t * targ, gentity_t * inflictor, gentity_t * attacker,
|
||||||
attacker = &g_entities[ENTITYNUM_WORLD];
|
attacker = &g_entities[ENTITYNUM_WORLD];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (targ->client)
|
||||||
|
targ->client->kevlarHit = qfalse;
|
||||||
|
|
||||||
/* old code
|
/* old code
|
||||||
if (targ->s.eType == ET_MOVER && targ->health <= 0) {
|
if (targ->s.eType == ET_MOVER && targ->health <= 0) {
|
||||||
//Makro - added
|
//Makro - added
|
||||||
|
|
Loading…
Reference in a new issue