diff options
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index 4b5ab14ae8..0b99e3e2ff 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -1928,6 +1928,8 @@ static void marshall_monster(writer &th, const monsters &m) ASSERT(m.ghost.get()); marshallGhost(th, *m.ghost); } + + m.props.write(th); } static void tag_construct_level_monsters(writer &th) @@ -2246,6 +2248,12 @@ static void unmarshall_monster(reader &th, monsters &m) if (mons_is_ghost_demon(m.type)) m.set_ghost(unmarshallGhost(th, _tag_minor_version)); + if (_tag_minor_version >= TAG_MINOR_MON_PROP) + { + m.props.clear(); + m.props.read(th); + } + m.check_speed(); } |