Fix uninitialized variable

This commit is contained in:
Marianne Gagnon 2015-01-16 18:18:56 -05:00
parent 6e2f2becf7
commit d2e84c8e86

View File

@ -202,7 +202,7 @@ private:
/** (max_pitch-min_pitch) / (max_speed - min_speed). Used to adjust
* the pitch of a sfx depending on speed of the kart.
*/
float m_sfx_pitch_per_speed;
float m_sfx_pitch_per_speed = 0.0f;
/** Additional speed allowed on top of the kart-specific maximum kart speed
* if a zipper is used. If this value is <0 the kart specific value will
* be used. */