fix bz623 - 'D' when not carrying anything

With menustyle set to "full" or "partial", using 'D' when not
carrying anything gave no feedback.  (Modes "traditional" and
"combination" give "you have nothing to drop" via ggetobj().)

Also, there's no need to reset in-progress armor removal, lock
picking, or trap setting if you don't actually drop anything.
The inventory they're set to operate on or with stays intact.
This commit is contained in:
PatR
2016-09-02 02:38:10 -07:00
parent 05ca204ae4
commit ff817b55e1
3 changed files with 19 additions and 8 deletions

View File

@@ -336,6 +336,8 @@ if user supplied a specific monster name when asked to choose a monster class,
S_quadruped due to being preceded by "titanothere" in mons[])
change ing_suffix() to not double final 'w' when adding 'ing' ('t=' yielded
"You mime throwwing something.")
using 'D' to drop when not carrying anything finished (after doing nothing)
without giving any feedback for menustyles "full" and "partial"
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository