Fixed the stuff in comments
This commit is contained in:
@@ -68,7 +68,7 @@ void PlayerMovementSystem::updateMovementControllers(double dt)
|
||||
}
|
||||
bool sniperSprinting = false;
|
||||
if (player.HasComponent("SprintAbility")) {
|
||||
if (controller->SniperSprintingCheck()) {
|
||||
if (controller->SpecialAbilityKeyDown()) {
|
||||
playerMovementSpeed *= (double)player["SprintAbility"]["StrengthOfEffect"];
|
||||
playerCrouchSpeed *= (double)player["SprintAbility"]["StrengthOfEffect"];
|
||||
sniperSprinting = true;
|
||||
|
||||
Reference in New Issue
Block a user