aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/world.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/world.rs b/src/world.rs
index 60ca096..fe54a38 100644
--- a/src/world.rs
+++ b/src/world.rs
@@ -271,12 +271,12 @@ impl GameWorld for World {
room.tile(&mut grid).unwrap();
}
- for room in &self.world {
- // Find the nearest room.
- let distances = self.room_distances(room.center);
- let nearest_room = &self.world[distances[1].0];
- let mut corridor_start: (usize, usize);
- }
+ // for room in &self.world {
+ // // Find the nearest room.
+ // let distances = self.room_distances(room.center);
+ // let nearest_room = &self.world[distances[1].0];
+ // let mut corridor_start: (usize, usize);
+ // }
grid
}