summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 715fb01285..25e4382274 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1668,6 +1668,11 @@ static void tag_read_level_items(struct tagHeader &th, char minorVersion)
mitm[i].flags = (unsigned long) unmarshallLong(th);
}
+ // [dshaligram] FIXME, remove this kludge when ARM_CAP is fully
+ // integrated.
+ if (mitm[i].base_type == OBJ_ARMOUR && mitm[i].sub_type == ARM_CAP)
+ mitm[i].sub_type = ARM_HELMET;
+
// pre 4.2 files had monster items stacked at (2,2) -- moved to (0,0)
if (minorVersion < 2 && mitm[i].x == 2 && mitm[i].y == 2)
{