summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-16 22:00:28 +0100
committermadmaxoft <github@xoft.cz>2014-03-16 22:00:28 +0100
commit89027cb67510f49114b9cd99c585009465a3ef66 (patch)
tree84c0b58b200e76785005b9e892ee4b2b9f63097a /src/Mobs/Monster.cpp
parentAdded override specifier where appropriate in cWorld. (diff)
downloadcuberite-89027cb67510f49114b9cd99c585009465a3ef66.tar
cuberite-89027cb67510f49114b9cd99c585009465a3ef66.tar.gz
cuberite-89027cb67510f49114b9cd99c585009465a3ef66.tar.bz2
cuberite-89027cb67510f49114b9cd99c585009465a3ef66.tar.lz
cuberite-89027cb67510f49114b9cd99c585009465a3ef66.tar.xz
cuberite-89027cb67510f49114b9cd99c585009465a3ef66.tar.zst
cuberite-89027cb67510f49114b9cd99c585009465a3ef66.zip
Diffstat (limited to 'src/Mobs/Monster.cpp')
-rw-r--r--src/Mobs/Monster.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 6e3c91d58..16d6aed1f 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -82,11 +82,11 @@ cMonster::cMonster(const AString & a_ConfigName, eType a_MobType, const AString
, m_AttackRange(2)
, m_AttackInterval(0)
, m_SightDistance(25)
- , m_DropChanceWeapon(0.085)
- , m_DropChanceHelmet(0.085)
- , m_DropChanceChestplate(0.085)
- , m_DropChanceLeggings(0.085)
- , m_DropChanceBoots(0.085)
+ , m_DropChanceWeapon(0.085f)
+ , m_DropChanceHelmet(0.085f)
+ , m_DropChanceChestplate(0.085f)
+ , m_DropChanceLeggings(0.085f)
+ , m_DropChanceBoots(0.085f)
, m_CanPickUpLoot(true)
, m_BurnsInDaylight(false)
{