git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7079 c06c8d41-db1a-0410-9941-cceddc491573
QZM4EDMUKU7QWQKWXHTRINNWH3GQQ6RSAX7WIX6PQAEM5V2Y2BQQC
SUWIERONPDATHPDMZRYO6GYIXSW6XIS5V5MK5IV23DWQH2LL7VIAC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
RDZUMV3A5TREQHLPPJWDWVXBNIOWC3CQJJ35TYFBQQVQNTU7SPXQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
3EUPIYJNWOMOQBP2Z5SGSMWK453BXJD6KL2WFTR3NM565MEBYASAC
SIDH2P7NBIG5KEOE27XHD3ZT2NQ2OJZFN6VZXWNWYFFY5YVXSSVQC
// Making a copy of the item: changed only for venom launchers.
item_def item = you.inv[throw_2];
item.quantity = 1;
item.slot = index_to_letter(item.link);
const item_def& thrown = you.inv[throw_2];
// Now start real firing!
origin_set_unknown(item);
// Must unwield before fire_beam() makes a copy in order to remove things
// like temporary branding. -- bwr
if (throw_2 == you.equip[EQ_WEAPON] && you.inv[throw_2].quantity == 1)
// Must unwield before making a copy in order to remove things
// like temporary branding.
if (throw_2 == you.equip[EQ_WEAPON] && thrown.quantity == 1)