summaryrefslogtreecommitdiffhomepage
path: root/editor/wall-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/wall-editor.cpp')
-rw-r--r--editor/wall-editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/wall-editor.cpp b/editor/wall-editor.cpp
index b311145a..c7052c69 100644
--- a/editor/wall-editor.cpp
+++ b/editor/wall-editor.cpp
@@ -51,7 +51,7 @@ void wall_editor::load_atlases()
{
fm_assert(_atlases.empty());
for (const auto& wa : loader.wall_atlas_list())
- _atlases[wa.name] = wa;
+ _atlases[wa.name] = &wa;
fm_assert(!_atlases.empty());
}