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:
Pasi Kallinen
2017-09-01 09:43:36 +03:00
parent 06d211f75c
commit ffb3f12997
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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)