diff --git a/src/s_advsound.cpp b/src/s_advsound.cpp index 67fc544dc..d424be45d 100644 --- a/src/s_advsound.cpp +++ b/src/s_advsound.cpp @@ -1433,7 +1433,7 @@ static void S_AddBloodSFX (int lumpnum) ambient->periodmax = 0; ambient->volume = 1; ambient->attenuation = 1; - ambient->sound = name; + ambient->sound = FSoundID(sfxnum); } }