blocks lighting bug fix

This commit is contained in:
@clasher113
2024-11-04 22:15:14 +02:00
parent 9f70e14a13
commit 9d3e872f88
3 changed files with 21 additions and 8 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
class Chunks;
class ContentIndices;
class Block;
struct lightentry {
int x;
@@ -15,7 +16,7 @@ struct lightentry {
class LightSolver {
std::queue<lightentry> addqueue;
std::queue<lightentry> remqueue;
const ContentIndices* const contentIds;
const Block* const* blockDefs;
Chunks* chunks;
int channel;
public: