Detons dying causes crash in debug builds
https://git.magicalgirl.moe/STJr/SRB2/blob/87b1246b58ab129b5c6f124c8a699168caba003d/src/p_mobj.c#L719 p_mobj.c line 719. Mobj is removed by call P_KillMobj setting it to its S_NULL deathstate. It has a xdeathstate of S_DETON16 so I assume it's meant to use that and they just got switched somehow.
#0 0x56625dd9 in P_ExplodeMissile (mo=0x598eae08) at p_mobj.c:719 #1 0x565f2ec5 in A_DetonChase (actor=0x598eae08) at p_enemy.c:4561 #2 0x566250d5 in P_SetMobjState (mobj=0x598eae08, state=S_DETON3) at p_mobj.c:387 #3 0x5662481e in P_CycleMobjState (mobj=0x598eae08) at p_mobj.c:117 #4 0x5663c3c6 in P_MobjThinker (mobj=0x598eae08) at p_mobj.c:7445 #5 0x56676de5 in P_RunThinkers () at p_tick.c:302 #6 0x56677be3 in P_Ticker (run=true) at p_tick.c:620 #6 0x56677be3 in P_Ticker (run=true) at p_tick.c:620 #7 0x565a27b6 in G_Ticker (run=true) at g_game.c:1939 #8 0x56577c85 in TryRunTics (realtics=1) at d_clisrv.c:4549 #9 0x5656aa8e in D_SRB2Loop () at d_main.c:611 #10 0x56569ce8 in main (argc=3, argv=0xffffd664) at sdl/i_main.c:165