There was an error while loading. Please reload this page.
2 parents 30e8afd + e7d8812 commit ef523cbCopy full SHA for ef523cb
code/cpp/component.h
@@ -100,12 +100,12 @@ namespace Monolithic
100
switch (Controller::getJoystickDirection())
101
{
102
case DIR_LEFT:
103
- velocity_ -= WALK_ACCELERATION;
104
- break;
+ velocity_ -= WALK_ACCELERATION;
+ break;
105
106
case DIR_RIGHT:
107
- velocity_ += WALK_ACCELERATION;
108
+ velocity_ += WALK_ACCELERATION;
109
//^omit
110
case DIR_NONE: break; // Do nothing.
111
0 commit comments