Skip to content

Commit

Permalink
remove few todo comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed Aug 11, 2024
1 parent 402acc4 commit 7576ba2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/chunk-collision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion test/save.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7576ba2

Please sign in to comment.