Record amount of gold in hero's possession in xlogfile

This commit is contained in:
Patric Mueller
2020-04-24 23:53:25 +02:00
parent 0e4ff07cef
commit c00c307d57
2 changed files with 2 additions and 0 deletions

View File

@@ -304,6 +304,7 @@ item-using monsters will zap wand of undead turning at corpse-wielding hero
boiling a pool or fountain now creates a temporary cloud of steam
random themed rooms in the dungeons of doom
extended achievement and conduct fields for xlogfile
record amount of gold in hero's possession in xlogfile
Platform- and/or Interface-Specific New Features

View File

@@ -379,6 +379,7 @@ int how;
genders[flags.initgend].filecode, XLOG_SEP,
aligns[1 - u.ualignbase[A_ORIGINAL]].filecode);
Fprintf(rfile, "%cflags=0x%lx", XLOG_SEP, encodexlogflags());
Fprintf(rfile, "%cgold=%ld", XLOG_SEP, money_cnt(g.invent) + hidden_gold());
Fprintf(rfile, "\n");
#undef XLOG_SEP
}