Fixed compiler warning.

This commit is contained in:
hiker 2017-12-07 09:43:27 +11:00
parent 5b296b08f9
commit ebcab8d4e0

View File

@ -2181,7 +2181,7 @@ void Kart::playCrashSFX(const Material* m, AbstractKart *k)
{
const float speed_for_max_volume = 15; //The speed at which the sound plays at maximum volume
const float max_volume = 1; //The maximum volume a sound is played at
const float min_volume = 0.2; //The minimum volume a sound is played at
const float min_volume = 0.2f; //The minimum volume a sound is played at
float volume; //The volume the crash sound will be played at