mirror of
https://github.com/nzp-team/quakec.git
synced 2025-01-19 07:40:51 +00:00
SERVER: Fix improper Shot Gun Penetration count
This commit is contained in:
parent
0e35a6e87f
commit
818ccac2c7
1 changed files with 2 additions and 2 deletions
|
@ -973,7 +973,7 @@ float(float wep, float penetration_times) getWeaponPenetration =
|
|||
case W_BORE:
|
||||
case W_SAWNOFF:
|
||||
case W_SNUFF:
|
||||
if (penetration_times >= 1)
|
||||
if (penetration_times >= 3)
|
||||
return 0;
|
||||
return 0.5;
|
||||
case W_FG:
|
||||
|
@ -1036,7 +1036,7 @@ float(float wep, float penetration_times) getWeaponPenetration =
|
|||
return 0.8;
|
||||
case W_TRENCH:
|
||||
case W_GUT:
|
||||
if (penetration_times >= 1)
|
||||
if (penetration_times >= 3)
|
||||
return 0;
|
||||
return 0.7;
|
||||
case W_TYPE:
|
||||
|
|
Loading…
Reference in a new issue