Opened 15 years ago

Closed 14 years ago

#161 closed bug (fixed)

Invincible Barrels

Reported by: tavana Owned by: epyon
Priority: minor Milestone: 0.9.9.4
Component: engine Version: 0.9.9
Keywords: Cc:
Blocked By: Blocking:

Description

CForge:3268

At certain points, if a barrel is pushed onto a corpse, the barrel cannot be detonated.

Change History (5)

comment:1 Changed 15 years ago by epyon

  • Status changed from new to assigned
  • Type changed from task to bug

comment:2 Changed 14 years ago by epyon

  • Resolution set to invalid
  • Status changed from assigned to closed

comment:3 Changed 14 years ago by tehtmi

  • Milestone changed from 0.9.9.2 to 0.9.9.4
  • Resolution invalid deleted
  • Status changed from closed to reopened

This bug still exists. It seems to be caused by LfFresh? being left on corpse cells and not even being changed when moving a barrel onto the cell later. (We don't notice for corpses because they can only be affected by explosions which clear LfFresh? at the beginning.)

There are two possible solutions:
1) Change when LfFresh? gets updated for explosions - this will have an interaction with recursive explosions.

2) When moving a barrel onto a cell (or possible when setting a cell at all), LfFresh? should be cleared. (Possibly other LightFlags? and even HP should be updated similarly.)

Last edited 14 years ago by tehtmi (previous) (diff)

comment:4 Changed 14 years ago by tehtmi

Upon further reflection, solution 1) will not work -- this bug can occur without involving explosions at all. The current explosion behavior makes sense.

comment:5 Changed 14 years ago by epyon

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [1602]) * lfFresh cleared each turn (fixes #161)

Note: See TracTickets for help on using tickets.