obj->how_lost fix
PR #1140 added checking the thrown, stolen, and dropped flags of an item when testing whether it would merge (at my suggestion...) with a stack in the target list (hero's invent). That interferred with picking it back up--whether via autopickup or explicit pickup--while inventory was full even when the item would otherwise be mergable. There was some trial and error involved when trying to figure where to put the fix but things seem to be working. This replaces a static analyzer workaround and could possibly bring its unwarranted complaint back.
This commit is contained in:
@@ -1833,6 +1833,8 @@ duration of temporary stoning resistance would be extended while eating a
|
||||
meal safely
|
||||
farlook at something that was on top of an engraving or grave would report
|
||||
the engraving text or headstone epitaph along with the 'something'
|
||||
when carrying 52 items (excluding gold), hero couldn't pick up a thrown,
|
||||
stolen, or dropped item which was split off from a still-carried stack
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Platform and/or Interface Problems Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user