A modification for ZDoom-based ports