Skip to content

Commit

Permalink
1.21
Browse files Browse the repository at this point in the history
fixed typo in break acceleration logic
  • Loading branch information
R1PeR committed Jul 20, 2017
1 parent 650a19e commit affdd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MouseToVJoy/MouseToVJoy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void vJoyInput::AccelerationLogic() {
Z = (Z + AttackTimeBreak) * AccelerationBreak;
}
if (!rInput.IsRightMouseButtonDown() && Z > 1) {
Z = (Z + ReleaseTimeBreak) / AccelerationBreak;
Z = (Z - ReleaseTimeBreak) / AccelerationBreak;
}
}
else {
Expand Down

0 comments on commit affdd29

Please sign in to comment.