]> git.localhorst.tv Git - blank.git/blobdiff - src/world/chunk.cpp
make gcc nag more
[blank.git] / src / world / chunk.cpp
index 3374e996f74bfae6c9a3c1a36d0d9b972ce69f7b..a482adb080009b7b314c5cc64628894a05bcfa36 100644 (file)
@@ -113,7 +113,7 @@ struct UnsetNode
        UnsetNode(Chunk *chunk, RoughLocation::Fine pos)
        : SetNode(chunk, pos), level(Get()) { }
 
-       UnsetNode(const SetNode &set)
+       explicit UnsetNode(const SetNode &set)
        : SetNode(set), level(Get()) { }
 
 
@@ -693,7 +693,7 @@ ChunkLoader::ChunkLoader(
 
 }
 
-void ChunkLoader::Update(int dt) {
+void ChunkLoader::Update(int) {
        // check if there's chunks waiting to be loaded
        // load until one of load or generation limits was hit
        constexpr int max_load = 10;