mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-25 17:47:07 +00:00
fix: unglob std::{min, max}, manual stuff
This commit is contained in:
@@ -1333,8 +1333,8 @@ bool NetherBridgePieces::CastleCorridorStairsPiece::postProcess(Level *level, Ra
|
||||
int stairsData = getOrientationData(Tile::stairs_netherBricks_Id, 2);
|
||||
for (int step = 0; step <= 9; step++)
|
||||
{
|
||||
int floor = max(1, 7 - step);
|
||||
int roof = min(max(floor + 5, 14 - step), 13);
|
||||
int floor = std::max(1, 7 - step);
|
||||
int roof = std::min(std::max(floor + 5, 14 - step), 13);
|
||||
int z = step;
|
||||
|
||||
// floor
|
||||
|
||||
Reference in New Issue
Block a user