fix: neoapps dysfunctional build script
This commit is contained in:
@@ -30,11 +30,11 @@ bool DoublePlantFeature::place(Level* level, Random* rand, int x, int y, int z)
|
||||
if (level->getTile(bx, by + 1, bz) != 0) continue;
|
||||
|
||||
|
||||
if (!static_cast<TallGrass2*>(Tile::tiles[Tile::tallgrass2_Id])->mayPlace(level, bx, by, bz)) continue;
|
||||
if (!static_cast<TallGrass2*>(Tile::tiles[Tile::double_plant_Id])->mayPlace(level, bx, by, bz)) continue;
|
||||
|
||||
|
||||
level->setTileAndData(bx, by, bz, Tile::tallgrass2_Id, m_plantType, 0);
|
||||
level->setTileAndData(bx, by + 1, bz, Tile::tallgrass2_Id, TallGrass2::UPPER_BIT | m_plantType, 0);
|
||||
level->setTileAndData(bx, by, bz, Tile::double_plant_Id, m_plantType, 0);
|
||||
level->setTileAndData(bx, by + 1, bz, Tile::double_plant_Id, TallGrass2::UPPER_BIT | m_plantType, 0);
|
||||
|
||||
placed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user