diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-07 17:55:29 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-07 17:55:29 -0500 |
commit | cec0ed92c4035c4421d3cc2448f5423fcbb7f7d4 (patch) | |
tree | ffce0e2dc7cc99ad6258adbb584c84867f13dcb2 | |
parent | f9448d36db7c076f5091f70b7921dceddf63fdf9 (diff) | |
download | therapy-cec0ed92c4035c4421d3cc2448f5423fcbb7f7d4.tar.gz therapy-cec0ed92c4035c4421d3cc2448f5423fcbb7f7d4.tar.bz2 therapy-cec0ed92c4035c4421d3cc2448f5423fcbb7f7d4.zip |
Fixed behavior of letting go of the right button
-rw-r--r-- | src/systems/controlling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systems/controlling.cpp b/src/systems/controlling.cpp index 456da3b..ec62e9a 100644 --- a/src/systems/controlling.cpp +++ b/src/systems/controlling.cpp | |||
@@ -72,7 +72,7 @@ void ControllingSystem::tick(double dt) | |||
72 | 72 | ||
73 | if (!controllable.isFrozen()) | 73 | if (!controllable.isFrozen()) |
74 | { | 74 | { |
75 | if (controllable.isHoldingRight()) | 75 | if (controllable.isHoldingLeft()) |
76 | { | 76 | { |
77 | walkLeft(entity); | 77 | walkLeft(entity); |
78 | } else { | 78 | } else { |