- Code: Select all • Expand view
./sounds/dssgtatk2.wav // copy of dsoof.wav
To reproduce bug:
1) Load any doom IWAD with this file (e.g., zdoom -iwad doom.wad -file sndbug.pk3 -warp 1 1)
2) Summon a demon at the console (i.e., "summon demon")
3) Walk in front of the demon
Demon attacks you with a growling sound.
Demon attacks you with the "oof!" sound.
The file dssgtatk2 is a spare file, for example a new demon attack sound that is under construction. The engine should ignore it, since "dssgtatk2 " is not a name specified in any doom SNDINFO iwad lump. Instead, the engine seems to be finding it anyway and in preference to the official sound name, simply because the file name is a superset of the official one.
This is much worse that it looks, because if the file is an edit of the official sound, and thus sounds similar, it takes a while to realise that something is wrong and more to realise WHAT is wrong
Make the lump loader more robust