by phantombeta » Wed Jan 29, 2020 1:32 pm
The
latest Hideous Destructor stable build randomly causes GZDoom to error out with "Invalid label". I've tracked this error down to AsmJit, but I have no idea what causes it. For me, it happens randomly, and for at least one person, it happens reliably.
It
seems to be caused by
this function:
Code: Select all
string getmug(string mugshot){
if(mugshot==HDMUGSHOT_DEFAULT)switch(cplayer.getgender()){
case 0:return "STF";
case 1:return "SFF";
default:return "STC";
}else return mugshot;
}
Unfortunately, I have no idea at all what's causing this.
The [url=https://github.com/MatthewTheGlutton/HideousDestructor/releases/tag/v4.3.3a]latest Hideous Destructor stable build[/url] randomly causes GZDoom to error out with "Invalid label". I've tracked this error down to AsmJit, but I have no idea what causes it. For me, it happens randomly, and for at least one person, it happens reliably.
It [i]seems[/i] to be caused by [url=https://github.com/MatthewTheGlutton/HideousDestructor/blob/v4.3.3a/zscript/statusbar.zs#L268]this function[/url]:
[code=PHP] string getmug(string mugshot){
if(mugshot==HDMUGSHOT_DEFAULT)switch(cplayer.getgender()){
case 0:return "STF";
case 1:return "SFF";
default:return "STC";
}else return mugshot;
} [/code]
Unfortunately, I have no idea at all what's causing this.