Tobis Programm forked to not destroy your golden files
Fork of Robocode by
Diff: source/Robot.cpp
- Revision:
- 72:4e8a151d804e
- Parent:
- 62:c2fcf3b349e9
- Child:
- 73:f7657ddb7827
--- a/source/Robot.cpp Thu Apr 20 11:37:24 2017 +0000 +++ b/source/Robot.cpp Fri Apr 21 12:12:57 2017 +0000 @@ -181,7 +181,7 @@ void Sensor_init() { for( int ii = 0; ii<6; ++ii) - sensors[ii].init(&distance, &bit0, &bit1, &bit2, ii); + sensors[ii].init(&distance,&distance2, &bit0, &bit1, &bit2, ii); } float getDistanceIR(int number)