Removed compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-12-19 01:09:22 +00:00
parent 28a77bd696
commit c9458b12fd
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ SoundManager* sound_manager= NULL;
SoundManager::SoundManager()
{
m_current_music= NULL;
setMasterMusicVolume(0.7);
setMasterMusicVolume(0.7f);
ALCdevice* device = alcOpenDevice ( NULL ); //The default sound device
if( device == NULL )

View File

@ -741,8 +741,8 @@ void Kart::updatePhysics (float dt)
{
// the backwards acceleration is artificially increased to allow
// players to get "unstuck" quicker if they hit e.g. a wall
m_vehicle->applyEngineForce(-engine_power*2.5, 2);
m_vehicle->applyEngineForce(-engine_power*2.5, 3);
m_vehicle->applyEngineForce(-engine_power*2.5f, 2);
m_vehicle->applyEngineForce(-engine_power*2.5f, 3);
}
}
else