Armor removed

This commit is contained in:
Richard Allen 2009-07-06 22:08:53 +00:00
parent a4a8c99a92
commit 1636390bc0

View file

@ -1776,7 +1776,8 @@ void G_Damage(gentity_t * targ, gentity_t * inflictor, gentity_t * attacker,
{ {
gclient_t *client; gclient_t *client;
gentity_t *tent; gentity_t *tent;
int take, save, asave, knockback; // int take, save, asave, knockback;
int take, save, knockback;
int bleeding = 0, instant_dam = 1, height; int bleeding = 0, instant_dam = 1, height;
float z_rel, targ_maxs2, from_top; float z_rel, targ_maxs2, from_top;
vec3_t line, new_point; vec3_t line, new_point;
@ -2250,7 +2251,8 @@ void G_Damage(gentity_t * targ, gentity_t * inflictor, gentity_t * attacker,
} else { } else {
client->ps.persistant[PERS_ATTACKER] = ENTITYNUM_WORLD; client->ps.persistant[PERS_ATTACKER] = ENTITYNUM_WORLD;
} }
client->damage_armor += asave; //JBravo: no armour
// client->damage_armor += asave;
client->damage_blood += take; client->damage_blood += take;
client->damage_knockback += knockback; client->damage_knockback += knockback;
if (dir) { if (dir) {