diff --git a/src/audio/sound_manager.cpp b/src/audio/sound_manager.cpp index e061eeadf..39612b146 100644 --- a/src/audio/sound_manager.cpp +++ b/src/audio/sound_manager.cpp @@ -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 ) diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index 653cee74a..d46a5fed0 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -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