summaryrefslogtreecommitdiffhomepage
path: root/src/critter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/critter.cpp')
-rw-r--r--src/critter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/critter.cpp b/src/critter.cpp
index 0fb3e406..ece278b2 100644
--- a/src/critter.cpp
+++ b/src/critter.cpp
@@ -316,6 +316,8 @@ constexpr float step_magnitude(Vector2b vec)
} // namespace
+extern template class Script<critter, critter_script>;
+
critter_proto::critter_proto(const critter_proto&) = default;
critter_proto::~critter_proto() noexcept = default;
critter_proto& critter_proto::operator=(const critter_proto&) = default;
@@ -542,4 +544,9 @@ critter::critter(object_id id, class chunk& c, critter_proto proto) :
object::set_bbox_(offset, bbox_offset, Vector2ub(iTILE_SIZE2/2), pass);
}
+critter::~critter() noexcept
+{
+ //fm_assert(!script);
+}
+
} // namespace floormat