Fix uninitialized variable
This commit is contained in:
parent
6e2f2becf7
commit
d2e84c8e86
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user