From 59e740035e767b28b37cd7d4fdd8698b8f1f0376 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 31 Jan 2012 18:06:24 +0000 Subject: Slight code cleanup, no big changes git-svn-id: http://mc-server.googlecode.com/svn/trunk@202 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cMonster.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/cMonster.cpp') 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) -- cgit v1.2.3