clang-tidy: fix many warnings

This commit is contained in:
Er2
2023-12-02 21:04:21 +03:00
parent 0f9131c43a
commit bf78dd4bf1
28 changed files with 61 additions and 57 deletions

View File

@@ -40,6 +40,7 @@ bool Sapling::maybeGrowTree(Level* level, int x, int y, int z, Random* random)
BirchFeature birchFeature;
SpruceFeature spruceFeature;
/*
Feature* pFeature = &treeFeature;
int data = level->getData(x, y, z);
@@ -52,6 +53,7 @@ bool Sapling::maybeGrowTree(Level* level, int x, int y, int z, Random* random)
pFeature = &spruceFeature;
break;
}
*/
return treeFeature.place(level, random, x, y, z);
}