Oops! Readded "Sprint" command. Removed some unnecessary variables in FirstPersonInputController. Fixed bug where you couldnt dash right away as the game started.

This commit is contained in:
verysecrethero
2016-02-03 17:45:37 +01:00
parent 7b5a2a5388
commit 1bd4aa91ff
2 changed files with 7 additions and 17 deletions
@@ -55,12 +55,11 @@ public:
}
}
//this is just temp here, the sprint ability. it will have a component check later
if (e.Command == "SpecialAbility") {
if (e.Command == "Sprint") {
if (e.Value > 0) {
//m_SpeedMultiplier *= 2.f;
m_SpeedMultiplier *= 2.f;
} else {
//m_SpeedMultiplier /= 2.f;
m_SpeedMultiplier /= 2.f;
}
}