diff options
author | Mattes D <github@xoft.cz> | 2019-09-27 17:51:44 +0200 |
---|---|---|
committer | peterbell10 <peterbell10@live.co.uk> | 2019-09-27 17:51:44 +0200 |
commit | 180a43d09721a32ad502f5e583d3b2d797501c00 (patch) | |
tree | 3b70a9188246ce86b3846c5d9d783171efa1dec3 /src/World.cpp | |
parent | Fix clang8.0 build (#4399) (diff) | |
download | cuberite-180a43d09721a32ad502f5e583d3b2d797501c00.tar cuberite-180a43d09721a32ad502f5e583d3b2d797501c00.tar.gz cuberite-180a43d09721a32ad502f5e583d3b2d797501c00.tar.bz2 cuberite-180a43d09721a32ad502f5e583d3b2d797501c00.tar.lz cuberite-180a43d09721a32ad502f5e583d3b2d797501c00.tar.xz cuberite-180a43d09721a32ad502f5e583d3b2d797501c00.tar.zst cuberite-180a43d09721a32ad502f5e583d3b2d797501c00.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 3164322fc..76465203e 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2352,7 +2352,7 @@ std::vector<UInt32> cWorld::SpawnSplitExperienceOrbs(double a_X, double a_Y, dou std::vector<int> Rewards = cExpOrb::Split(a_Reward); // Check generate number to decide speed limit (distribute range) - float SpeedLimit = (Rewards.size() / 2) + 5; + float SpeedLimit = static_cast<float>((Rewards.size() / 2) + 5); if (SpeedLimit > 10) { SpeedLimit = 10; |