SOLID_BSP nolonger bleed
This commit is contained in:
parent
c10d346593
commit
60f17287d6
1 changed files with 8 additions and 9 deletions
17
weapons.qc
17
weapons.qc
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue