Record amount of gold in hero's possession in xlogfile
This commit is contained in:
@@ -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
|
boiling a pool or fountain now creates a temporary cloud of steam
|
||||||
random themed rooms in the dungeons of doom
|
random themed rooms in the dungeons of doom
|
||||||
extended achievement and conduct fields for xlogfile
|
extended achievement and conduct fields for xlogfile
|
||||||
|
record amount of gold in hero's possession in xlogfile
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific New Features
|
Platform- and/or Interface-Specific New Features
|
||||||
|
|||||||
@@ -379,6 +379,7 @@ int how;
|
|||||||
genders[flags.initgend].filecode, XLOG_SEP,
|
genders[flags.initgend].filecode, XLOG_SEP,
|
||||||
aligns[1 - u.ualignbase[A_ORIGINAL]].filecode);
|
aligns[1 - u.ualignbase[A_ORIGINAL]].filecode);
|
||||||
Fprintf(rfile, "%cflags=0x%lx", XLOG_SEP, encodexlogflags());
|
Fprintf(rfile, "%cflags=0x%lx", XLOG_SEP, encodexlogflags());
|
||||||
|
Fprintf(rfile, "%cgold=%ld", XLOG_SEP, money_cnt(g.invent) + hidden_gold());
|
||||||
Fprintf(rfile, "\n");
|
Fprintf(rfile, "\n");
|
||||||
#undef XLOG_SEP
|
#undef XLOG_SEP
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user