Tobis Programm forked to not destroy your golden files
Fork of Robocode by
Diff: source/Mapping.cpp
- Revision:
- 128:6bde4483ce7b
- Parent:
- 126:d0b2057272d0
- Child:
- 129:0f60bf9640bb
--- a/source/Mapping.cpp Sun May 14 13:40:17 2017 +0000 +++ b/source/Mapping.cpp Sun May 14 14:40:12 2017 +0000 @@ -232,8 +232,12 @@ } } if(target.x == 0) { - return 47; // No Target found + return 48; // No Target found } else { + start = get_current_pos(); + printf("start: %d || %d\r\n", start.x, start.y); + printf("Target: &d || %d\r\n", target.x, target.y); + return 36; // Target found } }