Make GOLDOBJ unconditional.

This commit is contained in:
Sean Hunt
2015-02-14 01:31:22 -05:00
committed by Pasi Kallinen
parent cc7ab4a2da
commit 05f7a63728
58 changed files with 8 additions and 1196 deletions

View File

@@ -998,13 +998,8 @@ die:
{
int deepest = deepest_lev_reached(FALSE);
#ifndef GOLDOBJ
umoney = u.ugold;
tmp = u.ugold0;
#else
umoney = money_cnt(invent);
tmp = u.umoney0;
#endif
umoney += hidden_gold(); /* accumulate gold from containers */
tmp = umoney - tmp; /* net gain */
@@ -1046,11 +1041,7 @@ die:
/* update gold for the rip output, which can't use hidden_gold()
(containers will be gone by then if bones just got saved...) */
#ifndef GOLDOBJ
u.ugold = umoney;
#else
done_money = umoney;
#endif
/* clean up unneeded windows */
if (have_windows) {