gold in inventory bit (trunk only)
Update some disabled code in case it ever gets used.
This commit is contained in:
+1
-2
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user