From 017cb08bf33608f1ceb8d59800a8d1d2f9d5d455 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 11 Feb 2024 08:32:10 +0100 Subject: loader: allow adding atlases to the list without parsing them --- loader/wall-traits.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/wall-traits.cpp') diff --git a/loader/wall-traits.cpp b/loader/wall-traits.cpp index 182d30b2..634659cd 100644 --- a/loader/wall-traits.cpp +++ b/loader/wall-traits.cpp @@ -22,7 +22,7 @@ StringView wall_traits::name_of(const Cell& x) { return x.name; } StringView wall_traits::name_of(const Atlas& x) { return x.name(); } String& wall_traits::name_of(Cell& x) { return x.name; } -void wall_traits::ensure_atlases_loaded(Storage& s) +void wall_traits::load_atlas_list(Storage& s) { fm_debug_assert(s.name_map.empty()); s.cell_array = wall_cell::load_atlases_from_json().vec; -- cgit v1.2.3