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
-/* NetHack 3.6 do.c $NHDT-Date: 1464487100 2016/05/29 01:58:20 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.156 $ */
+/* NetHack 3.6 do.c $NHDT-Date: 1472809073 2016/09/02 09:37:53 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.158 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
result = drop(getobj(&drop_types[i], "drop"));
if (*u.ushops)
sellobj_state(SELL_NORMAL);
- reset_occupations();
+ if (result)
+ reset_occupations();
return result;
}
{
int result = 0;
+ if (!invent) {
+ You("have nothing to drop.");
+ return 0;
+ }
add_valid_menu_class(0); /* clear any classes already there */
if (*u.ushops)
sellobj_state(SELL_DELIBERATE);
result = menu_drop(result);
if (*u.ushops)
sellobj_state(SELL_NORMAL);
- reset_occupations();
+ if (result)
+ reset_occupations();
return result;
}
free((genericptr_t) pick_list);
} else if (flags.menu_style == MENU_COMBINATION) {
unsigned ggoresults = 0;
+
all_categories = FALSE;
/* Gather valid classes via traditional NetHack method */
i = ggetobj("drop", drop, 0, TRUE, &ggoresults);
-/* NetHack 3.6 invent.c $NHDT-Date: 1461967848 2016/04/29 22:10:48 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.208 $ */
+/* NetHack 3.6 invent.c $NHDT-Date: 1472809075 2016/09/02 09:37:55 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.210 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
char extra_removeables[3 + 1]; /* uwep,uswapwep,uquiver */
char buf[BUFSZ], qbuf[QBUFSZ];
- if (resultflags)
- *resultflags = 0;
- takeoff = ident = allflag = m_seen = FALSE;
if (!invent) {
You("have nothing to %s.", word);
+ if (resultflags)
+ *resultflags = ALL_FINISHED;
return 0;
}
+ if (resultflags)
+ *resultflags = 0;
+ takeoff = ident = allflag = m_seen = FALSE;
add_valid_menu_class(0); /* reset */
if (taking_off(word)) {
takeoff = TRUE;