aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BeachBiome.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/BeachBiome.cpp')
-rw-r--r--Minecraft.World/BeachBiome.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/BeachBiome.cpp b/Minecraft.World/BeachBiome.cpp
index 50e7cc1c..475f8468 100644
--- a/Minecraft.World/BeachBiome.cpp
+++ b/Minecraft.World/BeachBiome.cpp
@@ -8,8 +8,8 @@ BeachBiome::BeachBiome(int id) : Biome(id)
// remove default mob spawn settings
friendlies.clear();
friendlies_chicken.clear(); // 4J added
- topMaterial = (byte) Tile::sand_Id;
- material = (byte) Tile::sand_Id;
+ topMaterial = static_cast<byte>(Tile::sand_Id);
+ material = static_cast<byte>(Tile::sand_Id);
decorator->treeCount = -999;
decorator->deadBushCount = 0;