GiveDefaultInventory called when reloading a save on death

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
Marisa the Magician
Posts: 3878
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia

GiveDefaultInventory called when reloading a save on death

Post by Marisa the Magician »

This... kind of breaks the assumption that giving a player its starting inventory only happens on a pistol start / new game or when respawning in deathmatch, and has caused some major grievances in a mod of mine which I had to "fix" with gross hacks involving gameplay-altering static event handlers (but it's fine, because it's only in single player).

The call only happens with the autoload after pressing use when the player is dead (playerstate gets set to PST_Enter), and not when loading a save in any other situation, which tells me this might be intentional, and if so, all I can ask is "why?".

Return to “Bugs [GZDoom]”