git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@531 c06c8d41-db1a-0410-9941-cceddc491573
6NF5UR6BR6OBG62NDZPT3OMKYDT2MJ4AEF6QD4QUKWHNW2ZHAK2AC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
{ lastch = keyin;
{
lastch = keyin;
}
// Any general reasons why we can't wield a new object?
// Look for conditions like berserking that could prevent wielding // weapons.
// Look for conditions like berserking that could prevent wielding
// weapons.
// Prompt if not using the auto swap command, // or if the swap slot is empty.
// Prompt if not using the auto swap command,
// or if the swap slot is empty.
// Prompt if not using the auto swap command, or if the swap slot // is empty.
// Prompt if not using the auto swap command, or if the swap slot
// is empty.
// Fake an ESCAPE if the menu is empty. if (!item_count()) mkey = ESCAPE;
// Fake an ESCAPE if the menu is empty.
if (!item_count())
mkey = ESCAPE;