Commit 380e08d
committed
gameplay: make buffalo steak sandvich not reduce speed
the buffalo steak sandvich was made to not stack with other
movement speed bonuses. however, the way this was implemented
nullifies the greater of the two movement speed.
this fix makes it so if we are already above the berzerker speed cap,
we just don't apply berzerker speed at all and retain the faster speed.
if we are below the cap, then we boost by 35% speed like normal, up
to the berzerker cap of 135%
ref: ValveSoftware/Source-1-Games#34761 parent 6dc4a5f commit 380e08d
File tree
1 file changed
+8
-3
lines changed1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10529 | 10529 | | |
10530 | 10530 | | |
10531 | 10531 | | |
10532 | | - | |
10533 | | - | |
| 10532 | + | |
| 10533 | + | |
| 10534 | + | |
| 10535 | + | |
| 10536 | + | |
| 10537 | + | |
| 10538 | + | |
| 10539 | + | |
10534 | 10540 | | |
10535 | 10541 | | |
10536 | 10542 | | |
10537 | | - | |
10538 | 10543 | | |
10539 | 10544 | | |
10540 | 10545 | | |
| |||
0 commit comments