- Exhumed: Default init nSound to -1 as the code tests > -1 for validity.

This commit is contained in:
Mitchell Richters 2023-03-24 21:33:25 +11:00
parent a7c311e291
commit 3f6a0661b6

View file

@ -98,7 +98,7 @@ void doPlayerItemPickups(Player* const pPlayer)
{
int tintRed = 0;
int tintGreen = 16;
int nSound = 9;
int nSound = -1;
int var_40;
switch (itemtype)