Skip to content

Commit e7d8812

Browse files
committed
Fix switch indentation
1 parent 30e8afd commit e7d8812

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

code/cpp/component.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ namespace Monolithic
100100
switch (Controller::getJoystickDirection())
101101
{
102102
case DIR_LEFT:
103-
velocity_ -= WALK_ACCELERATION;
104-
break;
103+
velocity_ -= WALK_ACCELERATION;
104+
break;
105105

106106
case DIR_RIGHT:
107-
velocity_ += WALK_ACCELERATION;
108-
break;
107+
velocity_ += WALK_ACCELERATION;
108+
break;
109109
//^omit
110110
case DIR_NONE: break; // Do nothing.
111111
//^omit

0 commit comments

Comments
 (0)