Sfoglia il codice sorgente

fix fade_beats defined as int in audio_stream_interactive.h

PhairZ 11 mesi fa
parent
commit
8c4a9ad626
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      modules/interactive_music/audio_stream_interactive.h

+ 1 - 1
modules/interactive_music/audio_stream_interactive.h

@@ -100,7 +100,7 @@ private:
 		TransitionFromTime from_time = TRANSITION_FROM_TIME_NEXT_BEAT;
 		TransitionToTime to_time = TRANSITION_TO_TIME_START;
 		FadeMode fade_mode = FADE_AUTOMATIC;
-		int fade_beats = 1;
+		float fade_beats = 1;
 		bool use_filler_clip = false;
 		int filler_clip = 0;
 		bool hold_previous = false;