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