From a4fcd52cd02ecdef50c1f32a177f20555646b0df Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 4 Nov 2005 19:56:47 +0000 Subject: [PATCH] (xdmeta): Don't dump meta data for stuff that is not dumped by xdflds(). --- src/lib/commands/xdump.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/commands/xdump.c b/src/lib/commands/xdump.c index 2e289e5b..4490baf2 100644 --- a/src/lib/commands/xdump.c +++ b/src/lib/commands/xdump.c @@ -257,6 +257,10 @@ xdmeta(int type) xdhdr(ef_nameof(type), mdchr_ca, 1); for (i = 0; ca[i].ca_name; i++) { + if (ca[i].ca_flags & NSC_DEITY && !player->god) + continue; + if (ca[i].ca_flags & NSC_EXTRA) + continue; xdflds(mdchr_ca, &ca[i]); pr("\n"); }