summaryrefslogtreecommitdiffhomepage
path: root/src/world.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-24 18:57:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-24 18:58:54 +0100
commita837f206dc4857fe210d19eb6fbf5ad60021b7ac (patch)
tree2a5ba4c4fe7c8b5db1cf09fc2abb427af5255692 /src/world.hpp
parent7d02953f5338fc60d0a3941ab6a144b1a0e5bc96 (diff)
add todo
Diffstat (limited to 'src/world.hpp')
-rw-r--r--src/world.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.hpp b/src/world.hpp
index 20d9bd1d..8880fec0 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -56,7 +56,7 @@ public:
struct pair final { chunk& c; tile_ref t; }; // NOLINT
chunk& operator[](chunk_coords_ c) noexcept;
- pair operator[](global_coords pt) noexcept;
+ pair operator[](global_coords pt) noexcept; // todo maybe remove this overload?
chunk* at(chunk_coords_ c) noexcept;
bool contains(chunk_coords_ c) const noexcept;
void clear();