summaryrefslogtreecommitdiffhomepage
path: root/editor/ground-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/ground-editor.cpp')
-rw-r--r--editor/ground-editor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/ground-editor.cpp b/editor/ground-editor.cpp
index 4253575c..e99448fb 100644
--- a/editor/ground-editor.cpp
+++ b/editor/ground-editor.cpp
@@ -19,7 +19,11 @@ void ground_editor::load_atlases()
{
fm_assert(_atlases.empty());
for (const auto& g : loader.ground_atlas_list())
+ {
+ (void)loader.ground_atlas(g.name);
+ fm_assert(g.atlas);
_atlases[g.name] = &g;
+ }
fm_assert(!_atlases.empty());
}