fix pull request #469 - multiple '$' invent slots

Assigning a partial stack of gold to quiver (Qnn$) resulted in
an extra '$' slot in inventory, one for the unquivered part and
another for the quivered part.

Throwing a non-quivered partial stack of gold at self (tnn$.)
also resulted in an extra '$' slot after throwing at self was
rejected.

For the first case, reject the quiver-subset-of-gold attempt.
For both cases, recombine the two stacks back to original amount.

Fixes #469
This commit is contained in:
PatR
2021-03-16 12:29:22 -07:00
parent c6e6d65e43
commit c3ccd93a88
3 changed files with 16 additions and 1 deletions

View File

@@ -413,6 +413,10 @@ remove superfluous "All" from "All foos are already nonexistent." when blessed
mounted hero falling out of saddle shouldn't hit ground and take damage when
levitating or flying (if done without steed's help)
avoid "obj not free" panic if monster kills itself by reading scroll of earth
attempting to throw a partial stack of gold at self was prevented but left
the partial stack in an extra $ inventory slot
quivering a partial stack of gold succeeded and put the partial stack in an
extra $ inventory slot
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
------------------------------------------------------------------