diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-02 19:04:00 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-02 19:04:00 +0000 |
commit | 77799c38dcd4bb865be01a93a76344162c043245 (patch) | |
tree | 594888cc101c2ef47f5bf1bcb411643d3ed7a671 /crawl-ref/source/invent.h | |
parent | 1b49ddb74f8d39dd07b712602333fc28810a4f40 (diff) | |
download | crawl-ref-77799c38dcd4bb865be01a93a76344162c043245.tar.gz crawl-ref-77799c38dcd4bb865be01a93a76344162c043245.zip |
Fix 2784872: Take off not working for wearing (with the option).
Also, add another item selector for worn armour for the takeoff prompt
(and equip_unequip is false). I figured in the 'W'ear menu armour
already worn takes up less space, and you're rather likely to directly
switch to another piece of clothing.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9719 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r-- | crawl-ref/source/invent.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h index f82196ca06..ac58610c62 100644 --- a/crawl-ref/source/invent.h +++ b/crawl-ref/source/invent.h @@ -18,18 +18,19 @@ enum object_selector { - OSEL_ANY = -1, - OSEL_WIELD = -2, - OSEL_UNIDENT = -3, - OSEL_EQUIP = -4, - OSEL_MEMORISE = -5, - OSEL_RECHARGE = -6, - OSEL_ENCH_ARM = -7, - OSEL_VAMP_EAT = -8, - OSEL_DRAW_DECK = -9, - OSEL_THROWABLE = -10, - OSEL_BUTCHERY = -11, - OSEL_EVOKABLE = -12 + OSEL_ANY = -1, + OSEL_WIELD = -2, + OSEL_UNIDENT = -3, + OSEL_EQUIP = -4, + OSEL_MEMORISE = -5, + OSEL_RECHARGE = -6, + OSEL_ENCH_ARM = -7, + OSEL_VAMP_EAT = -8, + OSEL_DRAW_DECK = -9, + OSEL_THROWABLE = -10, + OSEL_BUTCHERY = -11, + OSEL_EVOKABLE = -12, + OSEL_WORN_ARMOUR = -13 }; #define PROMPT_ABORT -1 |