summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-08-15 04:48:17 -0400
committerJesse Luehrs <doy@tozt.net>2014-08-15 04:48:17 -0400
commitcae07587094ea5d3ded186413b03e8385445ca47 (patch)
tree6ecb17ea81011ea4f3e400f9030efe431142cbb7
parent3816d8e82d0a248f4281f77fa02f4290d0bfbb14 (diff)
downloadcrawl-ref-cae07587094ea5d3ded186413b03e8385445ca47.tar.gz
crawl-ref-cae07587094ea5d3ded186413b03e8385445ca47.zip
handle character properties in newer dump file formats
-rw-r--r--crawl-ref/source/wiz-dump.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-dump.cc b/crawl-ref/source/wiz-dump.cc
index b4304054ef..9d63ef5317 100644
--- a/crawl-ref/source/wiz-dump.cc
+++ b/crawl-ref/source/wiz-dump.cc
@@ -472,8 +472,10 @@ bool chardump_parser::_check_equipment(const vector<string> &tokens)
offset = 8;
else if (tokens[0] == "rMut")
offset = 7;
- else if (tokens[0] == "Saprov")
+ else if (tokens[0] == "Saprov") // older dump files
offset = 9;
+ else if (tokens[0] == "Gourm")
+ offset = 5;
else if (tokens[0] == "MR")
offset = 5;
else if (in_equipment)