summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.h
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2010-01-05 00:28:18 -0800
committerStefan O'Rear <stefanor@cox.net>2010-01-05 00:28:18 -0800
commit150e49039869a03a1788e8c005a9b6abccd4b8f3 (patch)
treed15d801ff0959805f5f68c36c8c0606ceefc3012 /crawl-ref/source/tags.h
parentb7392f433201f7051bd3ee5c19911ecf047ede9b (diff)
downloadcrawl-ref-150e49039869a03a1788e8c005a9b6abccd4b8f3.tar.gz
crawl-ref-150e49039869a03a1788e8c005a9b6abccd4b8f3.zip
Fix marshalling of beholders and unrandarts (#338)
Beholders were getting saved as signed bytes, so any mermaid with a monster index higher than 127 would come out as a negative number, crashes ensuing. Only the first 50 unrandart existance entries were getting saved, allowing roughly 1/3 of the unrandarts to be created multiple times.
Diffstat (limited to 'crawl-ref/source/tags.h')
-rw-r--r--crawl-ref/source/tags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.h b/crawl-ref/source/tags.h
index dd04e1df0e..d694e14aae 100644
--- a/crawl-ref/source/tags.h
+++ b/crawl-ref/source/tags.h
@@ -47,6 +47,7 @@ enum tag_major_version
enum tag_minor_version
{
TAG_MINOR_RESET = 0, // Minor tags were reset
+ TAG_MINOR_BEHELD16 = 1, // Use correct type sizes for beholders
TAG_MINOR_VERSION = 1 // Current version. (Keep equal to max.)
};