From 08b89c6575947e8fdcba9b6c329c25aa8472e52b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 11 May 2023 00:49:45 +0200 Subject: fixup! wip virtual entity stuff --- editor/inspect-types.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'editor') diff --git a/editor/inspect-types.cpp b/editor/inspect-types.cpp index e25ea9d6..b93813b9 100644 --- a/editor/inspect-types.cpp +++ b/editor/inspect-types.cpp @@ -76,10 +76,7 @@ struct entity_accessors { template struct has_anim_atlas : std::false_type {}; template<> struct has_anim_atlas : std::true_type { - static const anim_atlas& get_atlas(const entity& x) { - fm_assert(x.atlas); - return *x.atlas; - } + static const anim_atlas& get_atlas(const entity& x) { return *x.atlas; } }; template<> struct has_anim_atlas : has_anim_atlas {}; -- cgit v1.2.3