Look for sound files in both sounds.drs and sounds_x1.drs folders

unspeakable horrors lie within this code block; fortunately for you, you're not responsible for any of them. This code was in dire need of a re-write long before you touched it :)

 - yoda style for `>=` comparisons is not clever or witty, it's just plain confusing and makes the code much harder to read
 - use `std::unique_ptr<char[]>` instead of manually calling `delete[]`

 
those nested `if` branches give me internal bleedings just by looking at them... how about you put that code block into its own `std::string get_snd_fname(int id)` function that uses a for-each loop:

        for(auto &sounddir : {"sounds.drs", "sounds_x1.drs"}) {
            std::unique_ptr<char[]> snd_fname.reset(util::format("Data/%s/%d.opus", sounddir, item.resource_id))
            if(stuff) {
                return asset_dir.join(snd_fname);
            }
        }