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:
parent
28a77bd696
commit
c9458b12fd
@ -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 )
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user