diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-28 22:10:27 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-28 22:10:27 +0200 |
| commit | 280b4c235fe11dd629f882f0fb5054384fcee1d7 (patch) | |
| tree | e89735003b52b04e3c17a3ad5532b36e055cdda7 /src/world.cpp | |
| parent | 1b84fc144f77c4ebef6fdc0a476410420e0a95b3 (diff) | |
more work
Diffstat (limited to 'src/world.cpp')
| -rw-r--r-- | src/world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.cpp b/src/world.cpp index cefb2485..39b47db1 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -29,7 +29,7 @@ chunk& world::operator[](chunk_coords coord) noexcept return ret; } -std::tuple<chunk&, tile&> world::operator[](global_coords pt) noexcept +auto world::operator[](global_coords pt) noexcept -> pair { auto& c = operator[](pt.chunk()); return { c, c[pt.local()] }; |
