diff options
| author | Mel <einebeere@gmail.com> | 2024-02-02 03:03:36 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-02-02 03:03:36 +0100 |
| commit | 250e37c742f3ad46f093f4534098cdf8f68a29a9 (patch) | |
| tree | 29bb86a24e5a987959a455cae13818cf0def8646 /src/World/ChunkRegistry.hpp | |
| parent | 7b061aee2b4c15d242bb9f18101d6b9ea776c5cd (diff) | |
| download | meowcraft-250e37c742f3ad46f093f4534098cdf8f68a29a9.tar.zst meowcraft-250e37c742f3ad46f093f4534098cdf8f68a29a9.zip | |
Breaking blocks
Diffstat (limited to 'src/World/ChunkRegistry.hpp')
| -rw-r--r-- | src/World/ChunkRegistry.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/World/ChunkRegistry.hpp b/src/World/ChunkRegistry.hpp index ea887e4..2b87a3a 100644 --- a/src/World/ChunkRegistry.hpp +++ b/src/World/ChunkRegistry.hpp @@ -34,7 +34,9 @@ public: } void damage() { - if (status == Status::Done) chunk.value().damage(); + // if (status == Status::Done) chunk.value().damage(); + // TODO: Properly damage the chunk, notifying the nearby chunks, too. + status = Status::NeedsReification; } }; |
