Removed debug code

This commit is contained in:
2026-05-01 21:09:17 +02:00
parent 1558d5f57c
commit 3274692631

View File

@@ -157,14 +157,6 @@ pub const Simulator = struct {
std.debug.panic("Intersection selection failure: {}\n", .{err}); std.debug.panic("Intersection selection failure: {}\n", .{err});
}; };
defer self.allocator.free(intersections); defer self.allocator.free(intersections);
// DEBUG TODO REMOVE
std.debug.print("Displaying intersection position and the intersected road:\n", .{});
for (0..intersections.len) |i| {
const int = intersections[i];
std.debug.print("Road ID={d} Pos: ({d}, {d})\n", .{int.road.id, int.pos.x, int.pos.y});
}
self.splitRoadsByIntersections(intersections, temp, cur_node); self.splitRoadsByIntersections(intersections, temp, cur_node);
self.node_man.temp_node = if (self.auto_continue) cur_node else null; self.node_man.temp_node = if (self.auto_continue) cur_node else null;