diff options
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r-- | crawl-ref/source/mapdef.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index 2d04e483be..9684032f2e 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -1989,6 +1989,7 @@ void map_def::write_index(writer& outf) const marshallString4(outf, place_loaded_from.filename); marshallLong(outf, place_loaded_from.lineno); marshallShort(outf, orient); + marshallShort(outf, static_cast<short>(border_fill_type)); marshallLong(outf, chance_priority); marshallLong(outf, chance); marshallLong(outf, weight); @@ -2005,6 +2006,7 @@ void map_def::read_index(reader& inf) unmarshallString4(inf, place_loaded_from.filename); place_loaded_from.lineno = unmarshallLong(inf); orient = static_cast<map_section_type>( unmarshallShort(inf) ); + border_fill_type = static_cast<dungeon_feature_type>( unmarshallShort(inf) ); chance_priority = unmarshallLong(inf); chance = unmarshallLong(inf); weight = unmarshallLong(inf); |