summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-02-07 17:55:29 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-02-07 17:55:29 -0500
commitcec0ed92c4035c4421d3cc2448f5423fcbb7f7d4 (patch)
treeffce0e2dc7cc99ad6258adbb584c84867f13dcb2 /src
parentf9448d36db7c076f5091f70b7921dceddf63fdf9 (diff)
downloadtherapy-cec0ed92c4035c4421d3cc2448f5423fcbb7f7d4.tar.gz
therapy-cec0ed92c4035c4421d3cc2448f5423fcbb7f7d4.tar.bz2
therapy-cec0ed92c4035c4421d3cc2448f5423fcbb7f7d4.zip
Fixed behavior of letting go of the right button
Diffstat (limited to 'src')
-rw-r--r--src/systems/controlling.cpp2
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 {