diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 08:32:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 08:49:53 +0100 |
commit | 017cb08bf33608f1ceb8d59800a8d1d2f9d5d455 (patch) | |
tree | 8918ad2e036d8dc79b7b2cbdce858a9617551aea /loader/wall-traits.cpp | |
parent | b2be7d57642197c0f65d2645c767c4f868ababb1 (diff) |
loader: allow adding atlases to the list without parsing them
Diffstat (limited to 'loader/wall-traits.cpp')
-rw-r--r-- | loader/wall-traits.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |