[Fixed] Bug: Double Inventory Items

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Trapmaster

[.96] Bug: Double Inventory Items

Post by Trapmaster »

Hi There. This is my first post.
I found a bug when I played Hexen Deathkings of the Citadel. I collected 3 Flame masks but when I started to put them into the right places I lost one Mask. I think the bug is that it counts -2 Flame masks instead of 1. I tried the same thing with the Yorik Skulls and it was the same bug. I placed a skull and lost two of them. It seems that the bug is only in the .9X Versions - when I tried .63 everything was fine.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49228
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Well, the removal of the item in APuzzleItem::Use is redundant because it gets done again in AActor::UseInventory - even if it is used by activating a line special.

While we are discussing puzzle items there is one other thing: If the puzzle item has to be used on a line you can activate the line by the specified means but when you have to use it on a thing you have to use the item in the inventory. But the code to handle 'using' Strife's characters to start a conversation is already there so why not using it to check whether a puzzle item can be used on a thing that's in activation range?
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

Fixed.
Post Reply

Return to “Closed Bugs [GZDoom]”