[2.2.10 RC2] A_Boss1Laser causes SIGSEGV on custom mobjs
If a custom mobj uses A_Boss1Laser and the player attacks while firing it causes a crash, however this seems to happen on some unknown conditions. Apparently P_SpawnMissile and R_PointToAngle may be the cause of this crash.
Things to keep in mind:
- A_FaceTarget combined with this action may cause this type of crash
- This crash doesn't happen on 2.2.9
Here's the crash log:
Error occurred on Tuesday, March 1, 2022 at 20:46:18.
srb2win.exe caused an Access Violation at location 005219C1 in module srb2win.exe Writing to location 00000104.
Registers: eax=00020000 ebx=00000000 ecx=01400000 edx=00a00000 esi=1e1c4268 edi=1a153948 eip=005219c1 esp=0569fa30 ebp=1e1c4268 iopl=0 nv up ei pl zr na po nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00210246
AddrPC Params 005219C1 000F5CC0 005A7698 00000001 srb2win.exe!P_SpawnMissile 00592AFC 00000000 00000000 00000000 srb2win.exe!R_PointToAngle2