diff options
Diffstat (limited to 'src/Blocks/BlockMobSpawner.h')
-rw-r--r-- | src/Blocks/BlockMobSpawner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockMobSpawner.h b/src/Blocks/BlockMobSpawner.h index d5e7c273f..4f389c397 100644 --- a/src/Blocks/BlockMobSpawner.h +++ b/src/Blocks/BlockMobSpawner.h @@ -47,6 +47,6 @@ public: cFastRandom Random; int Reward = 15 + Random.NextInt(15) + Random.NextInt(15); - a_WorldInterface.SpawnExperienceOrb((double)a_BlockX, (double)a_BlockY + 1, (double)a_BlockZ, Reward); + a_WorldInterface.SpawnExperienceOrb(static_cast<double>(a_BlockX), static_cast<double>(a_BlockY + 1), static_cast<double>(a_BlockZ), Reward); } } ; |