Monster suicide is emulated in Doom v1.2
Brought to you by:
e6y
PrBoom's source code in https://svn.prboom.org/repos/branches/prboom-plus-24/prboom2/src/p_inter.c says:
/* killough 9/9/98: cleaned up, made more consistent: */ //e6y: Monsters could commit suicide in Doom v1.2 if they damaged themselves by exploding a barrel if (source && (source != target || compatibility_level == doom_12_compatibility) && source->type != MT_VILE && (!target->threshold || target->type == MT_VILE) && ((source->flags ^ target->flags) & MF_FRIEND || monster_infighting || !mbf_features)) {
The DoomWiki says it is fixed in v1.2 because only v1.1 and earlier didn't check for this case.
https://doomwiki.org/wiki/Barrel_suicide
Another site (https://tcrf.net/Doom_(PC,_1993)/Revisional_Differences), also says it's "In versions prior to v1.2".
Do not emulated this bug in version v1.2, it is wrong.
The DoomWiki was wrong and has been fixed. Close this bug report.