aaa
Fork of Move by
Diff: move.cpp
- Revision:
- 21:282c2b61e462
- Parent:
- 20:908443fd2b09
- Child:
- 22:eed10c0b7fe0
--- a/move.cpp Sat Sep 10 13:00:34 2016 +0000 +++ b/move.cpp Sat Sep 10 13:07:50 2016 +0000 @@ -496,9 +496,9 @@ if(targetx - x < 0) { if(targety - y > 0) - phi += PI; + phi -= PI; else if(targety - y < 0) - phi -= PI; + phi += PI; } return phi;