Fixed the stuff in comments

This commit is contained in:
verysecrethero
2016-03-03 17:33:41 +01:00
parent f84d1ac4a1
commit c5f3bfc0cd
2 changed files with 8 additions and 19 deletions
+1 -1
View File
@@ -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;