diff --git a/source/games/sw/src/sounds.cpp b/source/games/sw/src/sounds.cpp index eca3fd0bb..2838498ed 100644 --- a/source/games/sw/src/sounds.cpp +++ b/source/games/sw/src/sounds.cpp @@ -651,11 +651,13 @@ int _PlaySound(int num, DSWActor* actor, PLAYER* pp, const vec3_t* const ppos, i { pos = actor->int_pos(); actor = nullptr; + sourcetype = SOURCE_Unattached; } else if (pp && !ppos) { pos = pp->int_ppos(); pp = nullptr; + sourcetype = SOURCE_Unattached; } }