GiveDefaultInventory called when reloading a save on death

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Marisa the Magician
Posts: 3886
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
Contact:

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?".
Post Reply

Return to “Closed Bugs [GZDoom]”