git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7392 c06c8d41-db1a-0410-9941-cceddc491573
5ONUB5WXLAKG2V4HGFHJQR6WWSBUZQ2DZOWIS73G7AVWWB6PBHXAC
VHX7TPWGVWIT4UVQZ3XSFBRALNMHLEDMEBJC6HZ4HUH2JKI4VL6AC
WP5VP57D5BWKDAS7AA224OV2RX4O4BPTI2BLY7TS3T2O2PLUGXCQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
if (!grid_is_solid(grd(p)) && !grid_destroys_items(grd(p)))
if (!in_bounds(p)) continue; if (_is_floor(grd(p)))
if (!in_bounds(p))
continue;
if (_is_floor(grd(p)))
if (mitm[it].link == NON_ITEM) { // Link to the stack on the target grid p, // or NON_ITEM, if empty. mitm[it].link = igrd(p); break; }
if (mitm[it].link == NON_ITEM)
{
// Link to the stack on the target grid p,
// or NON_ITEM, if empty.
mitm[it].link = igrd(p);
break;
}
// Link to the stack on the target grid p, or // NON_ITEM if empty. mitm[it].link = igrd(p);
// Link to the stack on the target grid p, or
// NON_ITEM if empty.
// Move entire stack over to p.