summaryrefslogtreecommitdiffstats
path: root/source/cMonster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cMonster.cpp')
-rw-r--r--source/cMonster.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/cMonster.cpp b/source/cMonster.cpp
index e5f970122..fac25df5d 100644
--- a/source/cMonster.cpp
+++ b/source/cMonster.cpp
@@ -44,7 +44,7 @@ cMonster::cMonster()
, m_bMovingToDestination(false)
, m_Speed( new Vector3f() )
, m_DestinationTime( 0 )
- , m_Gravity( -9.81 )
+ , m_Gravity( -9.81f)
, m_bOnGround( false )
, m_DestroyTimer( 0 )
, m_Jump(0)
@@ -53,8 +53,8 @@ cMonster::cMonster()
, m_SightDistance(25)
, m_SeePlayerInterval (0)
, m_EMPersonality(AGGRESSIVE)
- , m_AttackDamage(1.0)
- , m_AttackRange(5.0)
+ , m_AttackDamage(1.0f)
+ , m_AttackRange(5.0f)
, m_AttackInterval(0)
, m_AttackRate(3)
, idle_interval(0)