From 8f28c760dd8e45d45ff54f241be4a10c497ed782 Mon Sep 17 00:00:00 2001 From: verysecrethero Date: Wed, 17 Feb 2016 11:47:10 +0100 Subject: [PATCH] You can now AssaultDash in the air --- .../Engine/Input/FirstPersonInputController.h | 4 ++-- resources/Schema/Entities/NewMap.xml | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/Engine/Input/FirstPersonInputController.h b/include/Engine/Input/FirstPersonInputController.h index 5529185a..7dc24a2c 100644 --- a/include/Engine/Input/FirstPersonInputController.h +++ b/include/Engine/Input/FirstPersonInputController.h @@ -202,7 +202,7 @@ void FirstPersonInputController::AssaultDashCheck(double dt, bool } //dashing with shift - if (m_ShiftDashing && m_AssaultDashCoolDownTimer <= 0.0f && !isJumping) { + if (m_ShiftDashing && m_AssaultDashCoolDownTimer <= 0.0f) { //player is dashing with shift //the wanted-direction is set in playermovement already so we dont need to check what direction we want to dash in! m_AssaultDashCoolDownTimer = assaultDashCoolDownMaxTimer; @@ -227,7 +227,7 @@ void FirstPersonInputController::AssaultDashCheck(double dt, bool } m_ValidDoubleTap = false; - if (!(m_AssaultDashCoolDownTimer <= 0.0f && !isJumping)) { + if (!(m_AssaultDashCoolDownTimer <= 0.0f)) { //if we cant dash at the moment, then just reset the tap-sensitivity-timer m_AssaultDashDoubleTapDeltaTime = 0.f; return; diff --git a/resources/Schema/Entities/NewMap.xml b/resources/Schema/Entities/NewMap.xml index dcdb7bec..00dc476f 100644 --- a/resources/Schema/Entities/NewMap.xml +++ b/resources/Schema/Entities/NewMap.xml @@ -5019,7 +5019,7 @@ - + @@ -5089,7 +5089,7 @@ - + @@ -5165,7 +5165,7 @@ - + @@ -5184,7 +5184,7 @@ - + @@ -5203,7 +5203,7 @@ - + @@ -5222,7 +5222,7 @@ - + @@ -5241,7 +5241,7 @@ - + @@ -5260,7 +5260,7 @@ - + @@ -5279,7 +5279,7 @@ - + @@ -5298,7 +5298,7 @@ - +