Fix pile display when picking up items while invisible
Reported directly to the devteam. Set hilite_pile on, become
invisible, pick up all but one item from a pile on the floor,
the pile symbol was still there afterwards.
This is yet another case of evil hack, because the gbuf doesn't
distinguish between object piles and single items, see
commit 854fe40609
This commit is contained in:
@@ -419,6 +419,7 @@ surviving a gas spore's explosion would leave that explosion as a stale reason
|
||||
spore's explosion" when killed by an opening drawbridge)
|
||||
add database entry for "martial arts"
|
||||
starting inventory for rogues specified +9 lock pick, where +/-N is meaningless
|
||||
fix pile mark when picking up all-but-one items while invisible
|
||||
|
||||
|
||||
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
|
||||
|
||||
@@ -707,7 +707,7 @@ int what; /* should be a long */
|
||||
|
||||
/* position may need updating (invisible hero) */
|
||||
if (n_picked)
|
||||
newsym(u.ux, u.uy);
|
||||
newsym_force(u.ux, u.uy);
|
||||
|
||||
/* check if there's anything else here after auto-pickup is done */
|
||||
if (autopickup)
|
||||
|
||||
Reference in New Issue
Block a user