Modification for ZDoom-based ports.