diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-31 19:06:24 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-31 19:06:24 +0100 |
commit | 59e740035e767b28b37cd7d4fdd8698b8f1f0376 (patch) | |
tree | ea4d82893bb07e771cb2c3d187640fd67389b4ec /source/cMonster.cpp | |
parent | Another cEvent fix, I wish I could get it finally right (diff) | |
download | cuberite-59e740035e767b28b37cd7d4fdd8698b8f1f0376.tar cuberite-59e740035e767b28b37cd7d4fdd8698b8f1f0376.tar.gz cuberite-59e740035e767b28b37cd7d4fdd8698b8f1f0376.tar.bz2 cuberite-59e740035e767b28b37cd7d4fdd8698b8f1f0376.tar.lz cuberite-59e740035e767b28b37cd7d4fdd8698b8f1f0376.tar.xz cuberite-59e740035e767b28b37cd7d4fdd8698b8f1f0376.tar.zst cuberite-59e740035e767b28b37cd7d4fdd8698b8f1f0376.zip |
Diffstat (limited to 'source/cMonster.cpp')
-rw-r--r-- | source/cMonster.cpp | 6 |
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)
|