[r3334] multiple Custominventory bug

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
cypherphage
Posts: 3
Joined: Mon Feb 20, 2012 23:55

[r3334] multiple Custominventory bug

Post by cypherphage »

For some reason, when the player receives more than 1 of a custom inventory, only one of them has any effect. Here is a simple example:
[spoiler]

Code: Select all

Actor superFlask : CustomInventory
{ +INVENTORY.ALWAYSPICKUP
states { Spawn:
PTN2 ABC 4
loop
Pickup:
TNT1 A 0 A_GiveInventory ("doubleFlask", 2) //should give a total of 4 items
stop }}

Actor doubleFlask : CustomInventory
{ +INVENTORY.ALWAYSPICKUP
states { Spawn:
PTN2 ABC 4
loop
Pickup:
TNT1 A 0 A_GiveInventory ("ArtiHealth", 2)
stop }}
[/spoiler]

this bug happens in r3334, and I am really hoping for a fix. Also, i tested whether increasing maxAmount had any effect, it didn't and this bug also happens with the console's give command.Ideas?
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: [r3334] multiple Custominventory bug

Post by Gez »

Same as the ZDoom report.

Sorry, it won't go faster by opening up more reports. Closed as duplicate.
Locked

Return to “Closed Bugs”