SOLID_BSP nolonger bleed

This commit is contained in:
lorderadicator 2002-11-29 21:30:55 +00:00
parent c10d346593
commit 60f17287d6

View file

@ -210,8 +210,9 @@ void(float damage, vector dir) TraceAttack =
org = trace_endpos - dir*4;
if (trace_ent.takedamage)
{
SpawnBlood (org, vel*0.2, damage);
{
if (trace_ent.solid != SOLID_BSP)
SpawnBlood (org, vel*0.2, damage);
AddMultiDamage (trace_ent, damage);
}
else
@ -1227,11 +1228,12 @@ void() CycleWeaponCommand =
}
};
/*
============
PreviousWeaponCommand
PreviousWeaponCommand //Eradicator
Go to the previous weapon with ammo - Eradicator
Go to the previous weapon with ammo
============
*/
void() PreviousWeaponCommand =
@ -1298,8 +1300,7 @@ void() PreviousWeaponCommand =
return;
}
}
};
};
/*
============
ServerflagsCommand
@ -1414,6 +1415,4 @@ void() SuperDamageSound =
}
}
return;
};
};