diff --git a/src/i_sound.h b/src/i_sound.h index 3c8a2ca62b3e7791ddeb12def7085fac29497e05..43b8eb4ccd2464bb6ad1c2a26763d0b83acdf4e4 100644 --- a/src/i_sound.h +++ b/src/i_sound.h @@ -258,7 +258,7 @@ boolean I_FadeMusic(UINT8 target_volume, UINT32 ms); boolean I_FadeOutStopMusic(UINT32 ms); boolean I_FadeInStartDigSong(const char *musicname, UINT16 track, boolean looping, UINT32 position, UINT32 fadeinms, boolean queuepostfade); -#define I_QueueDigSongPostFade(a,b,c,d,e) I_FadeInStartDigSong(a,b,c,d,e,1) +#define I_QueueDigSong(a,b,c,d,e) I_FadeInStartDigSong(a,b,c,d,e,1) /** \brief The I_StartDigSong function diff --git a/src/s_sound.c b/src/s_sound.c index abc9ee95d3b50dafe460051f56be3c0bcaa6f1aa..340d6a1d334585efcc5cb476d902a39009f112ec 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -1408,7 +1408,7 @@ void S_ChangeMusicWithFade(const char *mmusic, UINT16 mflags, boolean looping, U if (prefadems && I_MusicType() != MU_MID) //have to queue post-fade // allow even if the music is the same { I_FadeOutStopMusic(prefadems); - I_QueueDigSongPostFade(newmusic, mflags & MUSIC_TRACKMASK, looping, position, fadeinms); + I_QueueDigSong(newmusic, mflags & MUSIC_TRACKMASK, looping, position, fadeinms); // HACK: set the vars now and hope everything works out strncpy(music_name, newmusic, 7);