-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shtoyan
committed
Feb 3, 2022
1 parent
1f573dc
commit 0ea6441
Showing
5 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
class FPPSpeedInventory extends Inventory; | ||
|
||
var float fPenalty; | ||
|
||
replication | ||
{ | ||
reliable if (Role == ROLE_Authority) | ||
fPenalty; | ||
} | ||
|
||
|
||
simulated function float GetMovementModifierFor(Pawn InPawn) | ||
{ | ||
return class'Helper'.static.GetSpeedMod(); | ||
return fPenalty; | ||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters