A change to Survival's behavior

General discussion of the port and Doom-related chat.
User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: A change to Survival's behavior

#21

Post by Torr Samaho » Thu May 04, 2017 6:52 pm

Zalewa wrote:Since it's my change that caused this debacle I should be the one to fix it. Unless you already have a ready solution, I'm available to make necessary amends.
I recently had to revise the inventory keeping to fix some unexpected crashes and with the new version making the change optional should be as simple as replacing

Code: Select all

players[pPlayer - players].playerstate = PST_REBORN;
by

Code: Select all

players[pPlayer - players].playerstate = sv_whateveroptionname ? PST_REBORN : PST_REBORNNOINVENTORY;

User avatar
Zalewa
Developer
Posts: 329
Joined: Wed May 30, 2012 3:28 pm

Re: A change to Survival's behavior

#22

Post by Zalewa » Thu May 04, 2017 9:33 pm


Post Reply