From d55501505cffd22c25fc20b61828ef953da0371d Mon Sep 17 00:00:00 2001 From: Ellen Poe Date: Thu, 18 Feb 2021 20:38:47 -0800 Subject: [PATCH] Initialize fadeout to false in AudioStreamPlayer (cherry picked from commit b8a13a49686becdb4d926f730b3d7063daf81ae7) --- scene/audio/audio_stream_player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/audio/audio_stream_player.h b/scene/audio/audio_stream_player.h index 18f5360618b..47126011e16 100644 --- a/scene/audio/audio_stream_player.h +++ b/scene/audio/audio_stream_player.h @@ -51,7 +51,7 @@ private: Ref stream; Vector mix_buffer; Vector fadeout_buffer; - bool use_fadeout; + bool use_fadeout = false; SafeNumeric setseek; SafeFlag active;