git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3625 c06c8d41-db1a-0410-9941-cceddc491573
Y2TS2FXL32YEJBKSKCESUGGLM4NTLP5BSAJ6XDAUGBMKMWV5DJWAC
VSP2UVEASZS7NATQOC6C73SGVLLVVLFEPFSQKYGBM4I4D3HFE77QC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
P2ZCF3BBG523ZEOD6XQA4X5YEHBTWH3IM33YVHXP2SQ5POXZIH4QC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
if (you.species != SP_VAMPIRE && you.inv[which_inventory_slot].base_type != OBJ_FOOD)
if (you.species != SP_VAMPIRE &&
you.inv[which_inventory_slot].base_type != OBJ_FOOD)
if (you.species != SP_VAMPIRE)
mpr("You can't eat that!"); return (false);
mpr("You can't eat that!");
return (false);
if (you.inv[which_inventory_slot].base_type != OBJ_FOOD) { mpr("You can't eat that!"); return (false); }
if (you.inv[which_inventory_slot].base_type != OBJ_FOOD)
{
}
else if (you.species == SP_VAMPIRE && (you.inv[which_inventory_slot].base_type != OBJ_CORPSES || you.inv[which_inventory_slot].sub_type != CORPSE_BODY))
else if (you.species == SP_VAMPIRE &&
(you.inv[which_inventory_slot].base_type != OBJ_CORPSES
|| you.inv[which_inventory_slot].sub_type != CORPSE_BODY))
else
mpr("You crave blood!"); return (false);
mpr("You crave blood!");
if (you.inv[which_inventory_slot].base_type != OBJ_CORPSES || you.inv[which_inventory_slot].sub_type != CORPSE_BODY) { mpr("You crave blood!"); return (false); }
if (you.inv[which_inventory_slot].base_type != OBJ_CORPSES
|| you.inv[which_inventory_slot].sub_type != CORPSE_BODY)