mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
clang-tidy: fix many warnings
This commit is contained in:
@@ -13,7 +13,7 @@ ClothTile::ClothTile(int id, int type) : Tile(id, TEXTURE_CLOTH_64, Material::cl
|
||||
{
|
||||
field_6C = type;
|
||||
|
||||
m_TextureFrame = getTexture(0, type);
|
||||
m_TextureFrame = ClothTile::getTexture(0, type);
|
||||
}
|
||||
|
||||
int ClothTile::getTexture(int dir)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user