Dehacked lumps in WAD files will be ignored if also loading dehacked files separately
If multiple WAD files are added and more than one have a DEHACKED lump, only the most recently added DEHACKED lump will be used. The correct behavior would be to apply the DEHACKED lumps starting from the first WAD and moving toward the last WAD.
If DEH/BEX files are added on the command line with the -deh switch, any DEHACKED lumps in WAD files are ignored.
The correct behavior would be to apply DEHACKED lumps in the order that they appear on the command line. For example:
./odamex -iwad dehacked1.wad -file dehacked2.wad -deh dehacked3.deh -file dehacked4.wad