aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BreakDoorGoal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/BreakDoorGoal.cpp')
-rw-r--r--Minecraft.World/BreakDoorGoal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/BreakDoorGoal.cpp b/Minecraft.World/BreakDoorGoal.cpp
index f63b4eb0..ea00f500 100644
--- a/Minecraft.World/BreakDoorGoal.cpp
+++ b/Minecraft.World/BreakDoorGoal.cpp
@@ -47,7 +47,7 @@ void BreakDoorGoal::tick()
breakTime++;
- int progress = (int) (breakTime / (float) DOOR_BREAK_TIME * 10);
+ int progress = static_cast<int>(breakTime / (float)DOOR_BREAK_TIME * 10);
if (progress != lastBreakProgress)
{
mob->level->destroyTileProgress(mob->entityId, doorX, doorY, doorZ, progress);