diff options
Diffstat (limited to 'src/World.cpp')
-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; |