diff --git a/src/s_advsound.cpp b/src/s_advsound.cpp index 67fc544dc4..d424be45d0 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); } }