so that you don't have to press Escape twice to abort out of the prompt.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3624 c06c8d41-db1a-0410-9941-cceddc491573
VSP2UVEASZS7NATQOC6C73SGVLLVVLFEPFSQKYGBM4I4D3HFE77QC TFNFP2YQA4EOVE4VIXBEQSGACZSXHWIQ2T4TIPQ46R2MJW2C4B5AC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC 25CH7HH4LKXFIZ75YNMXS3TSXO6O27DYSOPLOD45K4OCNFWLS4LQC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC BWAQ3FHBBM6G3K3KYP75CRTR343RDQZJRYX5ZGYUEXYBAC3APDLAC P2ZCF3BBG523ZEOD6XQA4X5YEHBTWH3IM33YVHXP2SQ5POXZIH4QC slot = prompt_invent_item( "Drain what?",MT_INVLIST,OSEL_VAMP_EAT,true, true, true, 0, NULL,OPER_EAT );
which_inventory_slot = (slot != -1) ? slot :prompt_invent_item( "Eat which item?",MT_INVLIST,OBJ_FOOD,true, true, true, 0, NULL,OPER_EAT );}else{which_inventory_slot = (slot != -1) ? slot :prompt_invent_item( "Drain what?",MT_INVLIST,OSEL_VAMP_EAT,true, true, true, 0, NULL,OPER_EAT );
int which_inventory_slot = (slot != -1)? slot:prompt_invent_item("Eat which item?",MT_INVLIST,OBJ_FOOD,true, true, true, 0, NULL,OPER_EAT );