diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-28 03:44:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-28 04:05:05 +0200 |
commit | 37215facfcecb3a4133a740d7fda57c0ef564395 (patch) | |
tree | 22e4da3a44314c75977438e9b65eeb9b6e452ded /serialize | |
parent | b8a295f01dbb82e19dce92fd3a2048d98554eb75 (diff) |
w
Diffstat (limited to 'serialize')
-rw-r--r-- | serialize/savegame.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/serialize/savegame.cpp b/serialize/savegame.cpp index ef46a3f9..5c7e9b04 100644 --- a/serialize/savegame.cpp +++ b/serialize/savegame.cpp @@ -203,6 +203,8 @@ struct visitor_ case object_type::critter: self.visit(obj.atlas, atlas_type::anim, f); break; + case object_type::hole: + fm_abort("todo! not implemented"); } fm_debug_assert(obj.atlas); @@ -448,6 +450,8 @@ struct writer final : visitor_<writer, true> case object_type::scenery: write_scenery_proto(static_cast<const scenery&>(obj), f); goto ok; + case object_type::hole: + fm_abort("todo! not implemented"); } fm_assert(false); ok: void(); @@ -896,6 +900,8 @@ ok: obj = move(objʹ); goto ok; } + case object_type::hole: + fm_abort("todo! not implemented"); } fm_throw("invalid object_type {}"_cf, (int)type); ok: |