by RaveYard » Thu Jun 03, 2021 6:09 pm
Tested in latest commit.
Crashes when you spawn this:
Code: Select all
class Crasher : Actor
{
States
{
Spawn:
PUFF A 0 nodelay A_StartSound("*death");
stop;
}
}
I believe the issue is that this variable here:
https://github.com/coelckers/gzdoom/blo ... .cpp#L1636 (const char* pclass) is uninitialized when there is actor, but the actor has no player pointer.
Tested in latest commit.
Crashes when you spawn this:
[code]
class Crasher : Actor
{
States
{
Spawn:
PUFF A 0 nodelay A_StartSound("*death");
stop;
}
}
[/code]
I believe the issue is that this variable here: https://github.com/coelckers/gzdoom/blob/7d1ce1c8cd812761bbb4cd85989aee5884873180/src/sound/s_advsound.cpp#L1636 (const char* pclass) is uninitialized when there is actor, but the actor has no player pointer.