quick check with linters

This commit is contained in:
MihailRis
2024-05-10 12:34:05 +03:00
parent 92f185ab51
commit 9522aedeec
55 changed files with 129 additions and 184 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ std::unique_ptr<ubyte[]> Lightmap::encode() const {
return buffer;
}
std::unique_ptr<light_t[]> Lightmap::decode(ubyte* buffer) {
std::unique_ptr<light_t[]> Lightmap::decode(const ubyte* buffer) {
auto lights = std::make_unique<light_t[]>(CHUNK_VOL);
for (uint i = 0; i < CHUNK_VOL; i+=2) {
ubyte b = buffer[i/2];