diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-11 00:49:45 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-11 00:49:45 +0200 |
commit | 08b89c6575947e8fdcba9b6c329c25aa8472e52b (patch) | |
tree | d960c50fb4f98ee641426cad6467eeeda90e5d02 /editor | |
parent | 34687b3e6a6e1faaa1128ff3d70bd59c4bcb3cfb (diff) |
fixup! wip virtual entity stuff
Diffstat (limited to 'editor')
-rw-r--r-- | editor/inspect-types.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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<scenery> { template<typename T, typename = void> struct has_anim_atlas : std::false_type {}; template<> struct has_anim_atlas<entity> : 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<scenery> : has_anim_atlas<entity> {}; |