summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--editor/inspect-types.cpp5
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> {};