Made ident_mask return unsigned long as it should, rather than int.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1480 c06c8d41-db1a-0410-9941-cceddc491573
FVCAZQ5Y3MJUSYWOLGBWPGE2CNXVGQF3LHF2GT2JZ7Z2ZPWL2YNAC
EUV5AD4T5F2GBNOTP5BHGZFT7VX2VH5QN2TFIB6HQN47LXB5UYYQC
UURAYLSSITZLQR56MCWFPIWMECU7F3USMA2UPJAO4IPIY5WVKP5QC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
THE3KMFFWY4ZUFE3Z6RVTGPSPENYR7ULZDXPQYB3FXWPJOJ5P7WQC
<< std::endl;
<< '.' << std::endl;
int potion_type = POT_WATER;
potion_type pot_type = POT_WATER;
potion_type = POT_CONFUSION;
pot_type = POT_CONFUSION;
potion_type = POT_PARALYSIS;
pot_type = POT_PARALYSIS;
potion_type = (power_up ? POT_POISON : POT_CONFUSION);
pot_type = (power_up ? POT_POISON : POT_CONFUSION);
potion_type = (power_up ? POT_DECAY : POT_POISON);
pot_type = (power_up ? POT_DECAY : POT_POISON);
potion_type = (power_up ? POT_DECAY : POT_STRONG_POISON);
pot_type = (power_up ? POT_DECAY : POT_STRONG_POISON);
potion_type = (power_up ? POT_CONFUSION : POT_WATER);
pot_type = (power_up ? POT_CONFUSION : POT_WATER);
potion_type = (power_up ? POT_DEGENERATION : POT_POISON);
pot_type = (power_up ? POT_DEGENERATION : POT_POISON);
potion_type = (power_up ? POT_STRONG_POISON : POT_POISON);
pot_type = (power_up ? POT_STRONG_POISON : POT_POISON);
potion_type = POT_MUTATION;
pot_type = POT_MUTATION;
switch (potion_type)
switch (pot_type)
potion_type = POT_POISON;
pot_type = POT_POISON;
potion_type = POT_SLOWING;
pot_type = POT_SLOWING;
potion_type = POT_WATER;
pot_type = POT_WATER;
mitm[corpse].sub_type = potion_type;
mitm[corpse].sub_type = pot_type;
mitm[corpse].flags = 0; mitm[corpse].inscription.clear();
mitm[corpse].flags = 0;
mitm[corpse].inscription.clear();
int ident_flags(const item_def &item)
unsigned long ident_flags(const item_def &item)
const int identmask = full_ident_mask(item); int flags = item.flags & identmask;
const int identmask = full_ident_mask(item);
int flags = item.flags & identmask;
const unsigned long identmask = full_ident_mask(item); unsigned long flags = item.flags & identmask;
const unsigned long identmask = full_ident_mask(item);
unsigned long flags = item.flags & identmask;
if (identmask && (identmask & ISFLAG_KNOW_TYPE) && !(flags & ISFLAG_KNOW_TYPE) && item_type_known(item)) {
if (identmask && (identmask & ISFLAG_KNOW_TYPE)
&& !(flags & ISFLAG_KNOW_TYPE) && item_type_known(item))
{
if ((identmask & ISFLAG_KNOW_TYPE) && item_type_known(item))
}