diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-11 12:02:40 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-11 12:02:40 +0200 |
| commit | 7576ba2309c33ae894d9a870f7fbe106d94d3750 (patch) | |
| tree | a060abd48e215320920b0749f380bc855f44b79f | |
| parent | 402acc4bc8c525b1585465b5ed888142d5375094 (diff) | |
remove few todo comments
| -rw-r--r-- | src/chunk-collision.cpp | 2 | ||||
| -rw-r--r-- | test/save.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/chunk-collision.cpp b/src/chunk-collision.cpp index 81cb3566..78e11047 100644 --- a/src/chunk-collision.cpp +++ b/src/chunk-collision.cpp @@ -70,7 +70,7 @@ void filter_through_holes(Chunk_RTree& rtree, object_id id, Vector2 min, Vector2 if (!has_holes) return rtree.Insert(min.data(), max.data(), id); start: - fm_assert(min != max); // todo! + fm_assert(min != max); CutResult<float>::rect hole; bool ret = chunk::find_hole_in_bbox(hole, rtree, min, max); diff --git a/test/save.cpp b/test/save.cpp index 04c9810c..76cdd271 100644 --- a/test/save.cpp +++ b/test/save.cpp @@ -103,7 +103,6 @@ void assert_chunks_equal(const chunk& a, const chunk& b) case object_type::COUNT: fm_assert(false); case object_type::critter: { - // todo! remove duplication const auto& e1 = static_cast<const critter&>(ae); const auto& e2 = static_cast<const critter&>(be); const auto p1 = critter_proto(e1), p2 = critter_proto(e2); |
