mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-23 01:50:41 +00:00
Armor removed
This commit is contained in:
parent
a4a8c99a92
commit
1636390bc0
1 changed files with 4 additions and 2 deletions
|
@ -1776,7 +1776,8 @@ void G_Damage(gentity_t * targ, gentity_t * inflictor, gentity_t * attacker,
|
|||
{
|
||||
gclient_t *client;
|
||||
gentity_t *tent;
|
||||
int take, save, asave, knockback;
|
||||
// int take, save, asave, knockback;
|
||||
int take, save, knockback;
|
||||
int bleeding = 0, instant_dam = 1, height;
|
||||
float z_rel, targ_maxs2, from_top;
|
||||
vec3_t line, new_point;
|
||||
|
@ -2250,7 +2251,8 @@ void G_Damage(gentity_t * targ, gentity_t * inflictor, gentity_t * attacker,
|
|||
} else {
|
||||
client->ps.persistant[PERS_ATTACKER] = ENTITYNUM_WORLD;
|
||||
}
|
||||
client->damage_armor += asave;
|
||||
//JBravo: no armour
|
||||
// client->damage_armor += asave;
|
||||
client->damage_blood += take;
|
||||
client->damage_knockback += knockback;
|
||||
if (dir) {
|
||||
|
|
Loading…
Reference in a new issue