Project

General

Profile

Bug #4095

Error in framelistener when take all items from a dead corpse

Added by Andrei Kortunov 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Game Mechanics
Target version:
Start date:
09/11/2017
% Done:

100%

Reproducibility:
Always
Operating system:
Linux
Severity:
Normal

Description

When I tried to take all items from a Galbedir's corpse from attached save, I got an error:

Error in framelistener: Not enough items in the stack to remove

What's going wrong here:
1. Galbedir has exquisite_robe_01 equipped, and stack of two exquisite_robe_01 in the inventory.
2. An engine tries to move all items stack by stack.
3. An engine moves equipped exquisite_robe_01, so Galbedir's corpse equips a new exquisite_robe_01 from the stack.
4. An engine tries to move the stack of two exquisite_robe_01, but can move only one item (a second one is unstacked and equipped).
5. An exception raised.

TakeAll.omwsave (4.37 MB) Andrei Kortunov, 09/11/2017 12:36 PM

Associated revisions

Revision 4580024d (diff)
Added by Andrei Kortunov about 2 months ago

Unequip all items from dead corpse when take all items (bug #4095)

History

#1 Updated by Andrei Kortunov 2 months ago

  • Status changed from New to Resolved
  • Assignee set to Andrei Kortunov
  • Target version set to openmw-0.43
  • % Done changed from 0 to 100

#2 Updated by Andrei Kortunov about 2 months ago

  • Status changed from Resolved to Closed

Applied in the 4580024 commit.

Also available in: Atom PDF