Tobis Programm forked to not destroy your golden files
Fork of Robocode by
Diff: source/Positioning.cpp
- Revision:
- 118:fbd6d41f6ce8
- Parent:
- 112:b3270806629f
- Child:
- 120:cdf7a6751f9e
--- a/source/Positioning.cpp Wed May 10 10:02:53 2017 +0000 +++ b/source/Positioning.cpp Fri May 12 08:29:53 2017 +0000 @@ -89,7 +89,7 @@ current_coord.x += sin(current_heading/180.0f*(float)M_PI)* distance; current_coord.y -= cos(current_heading/180.0f*(float)M_PI) * distance; - + current_pos = coord_to_pos(current_coord); }