Reset weapon pickup voicelines only when inventory is wiped.

This commit is contained in:
Mari the Deer 2023-11-27 15:44:23 +01:00
commit 6a6c26f307
5 changed files with 31 additions and 23 deletions

View file

@ -31,6 +31,9 @@ extend Class SWWMUtility
p.mo.GiveDefaultInventory();
p.mo.BringUpWeapon();
p.health = p.mo.Health = p.mo.SpawnHealth();
// weapon pickup line stuff
SWWMStats s = SWWMStats.Find(p);
if ( s ) s.CleanGotWeapons();
}
// sets all carried ammo back to zero