From 150e49039869a03a1788e8c005a9b6abccd4b8f3 Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Tue, 5 Jan 2010 00:28:18 -0800 Subject: 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. --- crawl-ref/source/tags.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/tags.h') 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.) }; -- cgit v1.2.3-54-g00ecf