diff options
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r-- | crawl-ref/source/debug.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc index e7a72aad1a..e9712ea131 100644 --- a/crawl-ref/source/debug.cc +++ b/crawl-ref/source/debug.cc @@ -3307,11 +3307,12 @@ static void _debug_acquirement_stats(FILE *ostat) if (is_artefact(item)) num_arts++; + else if (type == OBJ_ARMOUR) // Exclude artefacts when counting egos. + ego_quants[get_armour_ego_type(item)]++; + // Include artefacts for weapon brands. if (type == OBJ_WEAPONS) ego_quants[get_weapon_brand(item)]++; - else if (type == OBJ_ARMOUR) - ego_quants[get_armour_ego_type(item)]++; destroy_item(item_index, true); |