gold in inventory bit (trunk only)

Update some disabled code in case it ever gets used.
This commit is contained in:
nethack.rankin
2007-01-07 06:33:39 +00:00
parent 8ec44f77b0
commit 1c20fe6223

View File

@@ -725,8 +725,7 @@ remove_gold_from_invent()
dealloc_obj(u_gold);
#if 0
} else if ((u_gold = carrying(GOLD_PIECE)) != 0) {
u.ugold += u_gold->quan; /* freeinv will subtract it back out */
freeinv(u_gold);
extract_nobj(u_gold, &invent);
dealloc_obj(u_gold);
#endif
}