by Matt » Wed Mar 13, 2019 12:33 pm
HexaDoken reported this on the Hideous Destructor Discord.
https://cdn.discordapp.com/attachments/ ... nknown.png
He hasn't been able to replicate this, it just seemed to happen randomly in multiplayer.
The only thing I can see on line 390 is that it presupposes there's a player, but in neither CheckWeaponChange, TickPSprites or PlayerThink or anything I can find that calls them do I see a check for whether there's a player attached.
HexaDoken reported this on the Hideous Destructor Discord.
https://cdn.discordapp.com/attachments/425903466305683458/555426489278136340/unknown.png
[quote]VM execution aborted: tried to read from address zero.
[url=https://github.com/coelckers/gzdoom/blob/caf326abe79476f9547818a7e670e09291a7aa95/wadsrc/static/zscript/shared/player.txt#L390]Called from PlayerPawn.CheckWeaponChange at... player.txt, line 390[/url]
Called from... [url=https://github.com/coelckers/gzdoom/blob/caf326abe79476f9547818a7e670e09291a7aa95/wadsrc/static/zscript/shared/player.txt#L444]line 444[/url]...
...[url=https://github.com/coelckers/gzdoom/blob/caf326abe79476f9547818a7e670e09291a7aa95/wadsrc/static/zscript/shared/player.txt#L1449]line 1449[/url][/quote]
He hasn't been able to replicate this, it just seemed to happen randomly in multiplayer.
The only thing I can see on line 390 is that it presupposes there's a player, but in neither CheckWeaponChange, TickPSprites or PlayerThink or anything I can find that calls them do I see a check for whether there's a player attached.