This is a bug I was working earlier last month to fix locally on my copies of mods. Effectively, doing anything with a weapon on the same tic that it gets taken away causes a vm abort, but adding an actionless 1-line bit immediately after taking the weapon fixes it, among some other methods. Although I'm sure this isn't the
correct way of fixing this, it works.
With Term's permission, I have a fixed version to post
here.There's two main changes here. The first changes the a_weaponready at the end of the Mastodon change state of each of Shihong's weapons into a simple display-only state, which fixes the VM abort without changing anything else.
The second change simply changes the improperly defined menu stuff into one that's compliant with the proper way of doing things. This is mostly a carryover from a certain period of GZDoom versions, where it would simply refuse to show the new option menus at all if they were defined this way. GZDoom can detect the new menus now without this fix, but it's a harmless change, so I've included it anyway.
A few other mods had this same abort, but I've worked where I can with the authors to fix them for actual releases.
Last edited by Somagu on Sun Feb 03, 2019 7:28 am, edited 1 time in total.