diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-12 13:22:01 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-12 14:29:20 +0200 |
| commit | 4d1eb2ff20ac86533355702684bd69fe1ab46a8a (patch) | |
| tree | 143a311127e6bc7240382a1ab7bc6c84c5c494bf /src/world.cpp | |
| parent | 099af546882db7e2fdfef9e942cfc7e6d73f3261 (diff) | |
a
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 9b19aed4..5f2bb870 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -192,7 +192,7 @@ void world::throw_on_wrong_object_type(object_id id, object_type actual, object_ fm_throw("object '{}' has wrong object type '{}', should be '{}'"_cf, id, (size_t)actual, (size_t)expected); } -auto world::neighbors(floormat::chunk_coords_ coord) -> std::array<neighbor_pair, 8> +auto world::neighbors(chunk_coords_ coord) -> std::array<neighbor_pair, 8> { std::array<neighbor_pair, 8> ret; for (auto i = 0uz; const auto& x : neighbor_offsets) |
