[2.2.15] Attempting to draw a HUD graphic with the same lump name as a Lua script crashes the game
RPT crash points to the function Patch_CreateFromDoomPatch, but I'm sure it's because the function is trying to parse a Lua script when it shouldn't.
Notably, the S3 Sonic mod is affected by this crash when running the command s3_menu, due to a graphic lump and a Lua script sharing the same name (S3MENU.lmp vs. s3menu.lua).
This bug was also present in the 2.2.14 prereleases.
EDIT: Forgot to add instructions for the test PK3.
Steps to reproduce:
- Load the PK3 listed below.
- Load any stage.
- Use the
Firebutton. - SIGSEGV
Test PK3: PatchDrawingTest.pk3
Edited by MIDIMan