mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-10 23:18:08 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -142,12 +142,12 @@ void DungeonFeature::addTunnel(int xOffs, int zOffs, byteArray blocks, double xC
|
||||
{
|
||||
if (yy < 10)
|
||||
{
|
||||
blocks[p] = static_cast<byte>(Tile::lava_Id);
|
||||
blocks[p] = static_cast<BYTE>(Tile::lava_Id);
|
||||
}
|
||||
else
|
||||
{
|
||||
blocks[p] = static_cast<byte>(0);
|
||||
if (hasGrass && blocks[p - 1] == Tile::dirt_Id) blocks[p - 1] = static_cast<byte>(Tile::grass_Id);
|
||||
blocks[p] = static_cast<BYTE>(0);
|
||||
if (hasGrass && blocks[p - 1] == Tile::dirt_Id) blocks[p - 1] = static_cast<BYTE>(Tile::grass_Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user