by Fishytza » Fri Jun 14, 2019 12:39 am
IE it gives another one without checking if the player already has one.
https://github.com/coelckers/gzdoom/blo ... r.zs#L1837
I only noticed this while playing a mapset that utilizes ResetInventory in its MAPINFO by typing printinv right after finishing a map (was testing stuff) and seeing multiple BasicArmors being listed.
As I understand it, there should be only one "BasicArmor" in the inventory chain at any time.
Quick edit: was testing in 4.1.3
IE it gives another one without checking if the player already has one.
[url]https://github.com/coelckers/gzdoom/blob/2d1c7ba17cac3ccd201e77ad01a9dd06ab22cb2e/wadsrc/static/zscript/actors/player/player.zs#L1837[/url]
I only noticed this while playing a mapset that utilizes ResetInventory in its MAPINFO by typing printinv right after finishing a map (was testing stuff) and seeing multiple BasicArmors being listed.
As I understand it, there should be only one "BasicArmor" in the inventory chain at any time.
Quick edit: was testing in 4.1.3