Merge branch 'fix-arrow' into 'master'

fix arrow type

See merge request mhart/DancingDroids!22
This commit is contained in:
Martin HART 2020-10-20 14:12:30 +02:00
commit 419d9ce414
1 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@ impl World {
/// Set robot on the map.
fn set_robot(&mut self, r: Robot) {
self.map[(r.p.x * r.p.y) as usize] = match r.o {
Orientation::N => '',
Orientation::S => '',
Orientation::E => '',
Orientation::W => '',
Orientation::N => '',
Orientation::S => '',
Orientation::E => '',
Orientation::W => '',
}
}
}